Bug 615111 – GAsyncInitable's default implementation is broken
authorDavid Zeuthen <davidz@redhat.com>
Mon, 19 Apr 2010 14:42:42 +0000 (10:42 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Mon, 19 Apr 2010 14:43:48 +0000 (10:43 -0400)
Signed-off-by: David Zeuthen <davidz@redhat.com>
gio/gasyncinitable.c

index 05e17e2..c369a4e 100644 (file)
@@ -201,7 +201,7 @@ async_init_thread (GSimpleAsyncResult *res,
 {
   GError *error = NULL;
 
-  if (!g_initable_init (G_INITABLE (res), cancellable, &error))
+  if (!g_initable_init (G_INITABLE (object), cancellable, &error))
     {
       g_simple_async_result_set_from_error (res, error);
       g_error_free (error);