-static gboolean sock_prepare (gpointer source_data,
- GTimeVal *current_time,
- gint *timeout,
- gpointer data);
-static gboolean sock_check (gpointer source_data,
- GTimeVal *current_time,
- gpointer user_data);
-static gboolean sock_dispatch (gpointer source_data,
- GTimeVal *current_time,
+static gboolean sock_prepare (GSource *source,
+ gint *timeout);
+static gboolean sock_check (GSource *source);
+static gboolean sock_dispatch (GSource *source,
+ GSourceFunc callback,