Bug 623142 – Ensure ::new-connection runs before processing D-Bus messages
authorDavid Zeuthen <davidz@redhat.com>
Wed, 30 Jun 2010 15:43:42 +0000 (11:43 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Wed, 30 Jun 2010 15:51:40 +0000 (11:51 -0400)
commit038d03cd08bdb42e6f83f6041ec01732476e900b
tree4bf237db64b39f8aa1684e70635d2076cb155cb1
parent137ae2413c9d25edd3f886fd25b6353c8170f7ba
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>
docs/reference/gio/gio-sections.txt
gio/gdbusconnection.c
gio/gdbusconnection.h
gio/gdbusprivate.c
gio/gdbusprivate.h
gio/gdbusserver.c
gio/gio.symbols
gio/gioenums.h
gio/tests/gdbus-peer.c