aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/glib-2.0/glib-2.0-2.24.0/gasync.patch
blob: d9f36a757e3f67a6e4c353b12c82649b0187a3c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From 324f928af62d8a0aa132a5caaec107d4daa76429 Mon Sep 17 00:00:00 2001
From: David Zeuthen <davidz@redhat.com>
Date: Mon, 19 Apr 2010 14:42:42 +0000
Subject: Bug 615111 – GAsyncInitable's default implementation is broken

Signed-off-by: David Zeuthen <davidz@redhat.com>
---
diff --git a/gio/gasyncinitable.c b/gio/gasyncinitable.c
index 05e17e2..c369a4e 100644
--- a/gio/gasyncinitable.c
+++ b/gio/gasyncinitable.c
@@ -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);
--
cgit v0.8.3.1