Ryan Lortie
8f5e0cd240
GDBusInterfaceSkeleton: fix odd use of floating refs
...
The get_properties() function was documented as returning a floating
Switch it over to returning a normal reference and patch a couple of
uses.
https://bugzilla.gnome.org/show_bug.cgi?id=654394
2011-07-12 19:44:21 +02:00
David Zeuthen
1ab29b6c4a
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>
2011-05-04 03:43:52 -04:00
David Zeuthen
92aed13eb8
Update docs to take comments/suggestions from Matthias into account
...
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-04-29 13:11:22 -04:00
David Zeuthen
f0eeadf306
GDBusObjectManagerServer: make export() return whether the object was removed
...
This is useful in conjunction with g_warn_if_fail().
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-04-20 11:54:24 -04:00
David Zeuthen
ea742e88e3
GDBus: Add some gobject-introspection annotations for new code
...
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-04-16 14:42:21 -04:00
David Zeuthen
6ccca55752
GDBus: Use Skeleton instead of Stub
...
After some brainstorming with Simon, see
https://bugzilla.gnome.org/show_bug.cgi?id=647577#c8
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-04-13 16:33:51 -04:00
David Zeuthen
6a4ab7c5d3
GDBus: Minor renames and doc fixes
...
As requested by Simon in https://bugzilla.gnome.org/show_bug.cgi?id=647577
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-04-12 20:15:48 -04:00
David Zeuthen
ac93a6af88
Add "Since: 2.30" for new D-Bus routines
...
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-04-08 16:29:48 -04:00
David Zeuthen
94b9071344
Start merging gdbus-codegen code
...
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-04-08 15:48:28 -04:00