GDBusInterface: add dup_object() method

This is needed for thread-safety ... yes, it would have been better to
make get_object() return a full reference and have something like a
peek_object() method return a borrowed reference for C convenience
(only a single vfunc would have been needed). But such an ABI break is
too late now...

Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
David Zeuthen
2012-01-26 14:16:28 -05:00
parent eb6c35f7c3
commit bc40fe582d
6 changed files with 75 additions and 1 deletions

View File

@@ -3419,6 +3419,7 @@ GDBusInterface
GDBusInterfaceIface
g_dbus_interface_get_info
g_dbus_interface_get_object
g_dbus_interface_dup_object
g_dbus_interface_set_object
<SUBSECTION Standard>
G_DBUS_INTERFACE