GDBusObjectManagerServer: Allow setting :connection property
authorDavid Zeuthen <davidz@redhat.com>
Wed, 4 May 2011 07:37:46 +0000 (03:37 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Wed, 4 May 2011 07:43:52 +0000 (03:43 -0400)
commit1ab29b6c4a2ddf5a60b4cc353422d605197b7696
tree3d878a2ba6395b5f40863005ae34a8474b214c86
parent542215b78ac52ffb96386ef63ee782981a1b8e49
GDBusObjectManagerServer: Allow setting :connection property

.. and add a C setter to do this. Also make the C getter return a
reference since the property may be set from another thread. Also
change the constructor to _not_ take a GDBusConnection since this is
something you almost always want to do _after_ creating it. The
API/ABI break is fine as there has never been a GLib release with this
type.

https://bugzilla.gnome.org/show_bug.cgi?id=648959

Signed-off-by: David Zeuthen <davidz@redhat.com>
docs/reference/gio/gio-sections.txt
gio/gdbusobjectmanagerserver.c
gio/gdbusobjectmanagerserver.h
gio/gio.symbols
gio/tests/gdbus-example-objectmanager-server.c
gio/tests/gdbus-test-codegen.c