[glib] GDBusConnection: fix message flags in g_dbus_connection_call_sync()



commit 892012b951a5222a3e47afc18179b064420ff98b
Author: Carlos Garcia Campos <carlosgc gnome org>
Date:   Sun Aug 1 12:56:06 2010 +0200

    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.

 gio/gdbusconnection.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
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,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]