GDBusConnection: fix message flags in g_dbus_connection_call_sync()
authorCarlos Garcia Campos <carlosgc@gnome.org>
Sun, 1 Aug 2010 10:56:06 +0000 (12:56 +0200)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Sun, 1 Aug 2010 15:27:58 +0000 (17:27 +0200)
GDBusCallFlags were used instead of GDBusSendMessageFlags for
g_dbus_connection_send_message_with_reply_sync(). Fixes bug #625753.

gio/gdbusconnection.c

index df52601..b81dfb3 100644 (file)
@@ -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,