Bug 615111 – GAsyncInitable's default implementation is broken

Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
David Zeuthen 2010-04-19 10:42:42 -04:00
parent 40fdc929f8
commit ccbafd0f14

View File

@ -201,7 +201,7 @@ async_init_thread (GSimpleAsyncResult *res,
{ {
GError *error = NULL; 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_simple_async_result_set_from_error (res, error);
g_error_free (error); g_error_free (error);