mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-05 23:48:44 +02:00
Bug 621213 – GDBusProxy and well-known names
Allow constructing a GDBusProxy for well-known names as discussed here http://mail.gnome.org/archives/gtk-devel-list/2009-October/msg00075.html including test cases. Make it possible to create a GDBusProxy for a GBusType instead of a GDBusConnection. This requires G_BUS_TYPE_NONE so add that too. Nuke g_bus_watch_proxy() since one can now more or less use GDBusProxy for this. Port gdbus-example-watch-proxy to this new API and include this example in the GDBusProxy doc page. Also nuke the GType parameter from the GDBusProxy constructors as requested here: https://bugzilla.gnome.org/show_bug.cgi?id=621229 Also update the porting guide and other API docs for this change. Also fix a bug in the signal dispatching code so each subscriber only get notified once, not N times, for the same signal. Also add a test case for this. https://bugzilla.gnome.org/show_bug.cgi?id=621213 Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
@@ -89,7 +89,6 @@ gdbus_headers = \
|
||||
gdbusmessage.h \
|
||||
gdbusnameowning.h \
|
||||
gdbusnamewatching.h \
|
||||
gdbusproxywatching.h \
|
||||
gdbusproxy.h \
|
||||
gdbusintrospection.h \
|
||||
gdbusmethodinvocation.h \
|
||||
@@ -110,7 +109,6 @@ gdbus_sources = \
|
||||
gdbusmessage.h gdbusmessage.c \
|
||||
gdbusnameowning.h gdbusnameowning.c \
|
||||
gdbusnamewatching.h gdbusnamewatching.c \
|
||||
gdbusproxywatching.h gdbusproxywatching.c \
|
||||
gdbusproxy.h gdbusproxy.c \
|
||||
gdbusprivate.h gdbusprivate.c \
|
||||
gdbusintrospection.h gdbusintrospection.c \
|
||||
|
Reference in New Issue
Block a user