summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2014-03-26 18:41:19 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2014-03-27 15:42:31 +0000
commita42cb564ec80ecf892a9df74520e84bd16805e9a (patch)
tree39def413c60afaaa9ec45649d5fda21ece33faa9
parent49e67694087d4841dfb400b901e6bb1dbde49608 (diff)
Add a comment to clarify how tp_dbus_daemon_unregister_object() works
-rw-r--r--telepathy-glib/dbus-daemon.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/telepathy-glib/dbus-daemon.c b/telepathy-glib/dbus-daemon.c
index 68be4bf32..bafe8e32f 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);
}