Blob Blame History Raw
From 892012b951a5222a3e47afc18179b064420ff98b Mon Sep 17 00:00:00 2001
From: Carlos Garcia Campos <carlosgc@gnome.org>
Date: Sun, 01 Aug 2010 10:56:06 +0000
Subject: GDBusConnection: fix message flags in g_dbus_connection_call_sync()

GDBusCallFlags were used instead of GDBusSendMessageFlags for
g_dbus_connection_send_message_with_reply_sync(). Fixes bug #625753.
---
diff --git a/gio/gdbusconnection.c b/gio/gdbusconnection.c
index df52601..b81dfb3 100644
--- a/gio/gdbusconnection.c
+++ b/gio/gdbusconnection.c
@@ -5096,7 +5096,7 @@ g_dbus_connection_call_sync (GDBusConnection         *connection,
   local_error = NULL;
   reply = g_dbus_connection_send_message_with_reply_sync (connection,
                                                           message,
-                                                          flags,
+                                                         G_DBUS_SEND_MESSAGE_FLAGS_NONE,
                                                           timeout_msec,
                                                           NULL, /* volatile guint32 *out_serial */
                                                           cancellable,
--
cgit v0.8.3.1