mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
Bug 623142 – Ensure ::new-connection runs before processing D-Bus messages
Without this guarantee, peer-to-peer connections are not very useful. However, with this guarantee it's possible to export objects in a handler for the GDBusServer::new-connection signal. There are two caveats with this patch - it won't work on message bus connections - we don't queue up messages to be written that can be addresses later if needed. https://bugzilla.gnome.org/show_bug.cgi?id=623142 Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
@@ -128,6 +128,7 @@ GDBusConnection *g_dbus_connection_new_for_address_sync (const gchar
|
||||
|
||||
/* ---------------------------------------------------------------------------------------------------- */
|
||||
|
||||
void g_dbus_connection_start_message_processing (GDBusConnection *connection);
|
||||
gboolean g_dbus_connection_is_closed (GDBusConnection *connection);
|
||||
void g_dbus_connection_close (GDBusConnection *connection);
|
||||
GIOStream *g_dbus_connection_get_stream (GDBusConnection *connection);
|
||||
|
Reference in New Issue
Block a user