mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-12-10 02:23:40 +01:00
Bug 632544 – Cannot send a locked message with PRESERVE_SERIAL flag
https://bugzilla.gnome.org/show_bug.cgi?id=632544 Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
committed by
David Zeuthen
parent
a855f72700
commit
735fcf918e
@@ -1452,7 +1452,8 @@ g_dbus_connection_send_message_unlocked (GDBusConnection *connection,
|
||||
if (out_serial != NULL)
|
||||
*out_serial = serial_to_use;
|
||||
|
||||
g_dbus_message_set_serial (message, serial_to_use);
|
||||
if (!(flags & G_DBUS_SEND_MESSAGE_FLAGS_PRESERVE_SERIAL))
|
||||
g_dbus_message_set_serial (message, serial_to_use);
|
||||
|
||||
g_dbus_message_lock (message);
|
||||
_g_dbus_worker_send_message (connection->worker,
|
||||
|
||||
Reference in New Issue
Block a user