Implement closure-related methods for gio GSource types
[platform/upstream/glib.git] / gio / gasynchelper.h
index 1e65698..cd6d282 100644 (file)
@@ -27,9 +27,9 @@
 
 G_BEGIN_DECLS
 
-typedef gboolean (*GFDSourceFunc) (gpointer     user_data,
+typedef gboolean (*GFDSourceFunc) (int          fd,
                                   GIOCondition condition,
-                                  int          fd);
+                                  gpointer     user_data);
 
 GSource *_g_fd_source_new      (int              fd,
                                gushort          events,