Implement closure-related methods for gio GSource types

Also, fix up the argument ordering on GFDSourceFunc

https://bugzilla.gnome.org/show_bug.cgi?id=634239
This commit is contained in:
Dan Winship
2010-11-07 11:05:26 -05:00
parent ece936e84d
commit 73d823ac1e
6 changed files with 97 additions and 9 deletions

View File

@@ -422,9 +422,9 @@ typedef struct {
} ReadAsyncData;
static gboolean
read_async_cb (ReadAsyncData *data,
read_async_cb (int fd,
GIOCondition condition,
int fd)
ReadAsyncData *data)
{
GSimpleAsyncResult *simple;
GError *error = NULL;