[next] telepathy-glib: Add a comment to clarify how tp_dbus_daemon_unregister_object() works
Simon McVittie
smcv at kemper.freedesktop.org
Thu Mar 27 12:59:54 PDT 2014
Module: telepathy-glib
Branch: next
Commit: a42cb564ec80ecf892a9df74520e84bd16805e9a
URL: http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=a42cb564ec80ecf892a9df74520e84bd16805e9a
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Wed Mar 26 18:41:19 2014 +0000
Add a comment to clarify how tp_dbus_daemon_unregister_object() works
---
telepathy-glib/dbus-daemon.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/telepathy-glib/dbus-daemon.c b/telepathy-glib/dbus-daemon.c
index 68be4bf..bafe8e3 100644
--- a/telepathy-glib/dbus-daemon.c
+++ b/telepathy-glib/dbus-daemon.c
@@ -597,6 +597,8 @@ tp_dbus_daemon_unregister_object (TpDBusDaemon *self,
DEBUG ("%p", object);
+ /* The free-function for the qdata, tp_dbus_daemon_registration_free(), will
+ * automatically unregister the object (if registered) */
g_object_set_qdata (object, registration_quark (), NULL);
}
More information about the telepathy-commits
mailing list