[Pkg-telepathy-commits] [telepathy-glib-1] 58/212: Add a comment to clarify how tp_dbus_daemon_unregister_object() works

Simon McVittie smcv at debian.org
Wed May 14 12:08:51 UTC 2014


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian
in repository telepathy-glib-1.

commit 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);
 }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-telepathy/telepathy-glib-1.git



More information about the Pkg-telepathy-commits mailing list