telepathy-glib: Add comment explaining what it means if feature-> prepare_async is NULL

Xavier Claessens xclaesse at kemper.freedesktop.org
Wed May 9 09:11:30 PDT 2012


Module: telepathy-glib
Branch: master
Commit: 897cfccb89322cce4fa077a339739ec7d33fb26e
URL:    http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=897cfccb89322cce4fa077a339739ec7d33fb26e

Author: Xavier Claessens <xavier.claessens at collabora.co.uk>
Date:   Mon Apr 30 13:29:37 2012 +0200

Add comment explaining what it means if feature->prepare_async is NULL

https://bugs.freedesktop.org/show_bug.cgi?id=49215

---

 telepathy-glib/proxy.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/telepathy-glib/proxy.c b/telepathy-glib/proxy.c
index 9f8ac07..a4a8c68 100644
--- a/telepathy-glib/proxy.c
+++ b/telepathy-glib/proxy.c
@@ -2049,6 +2049,9 @@ static void
 prepare_feature (TpProxy *self,
     const TpProxyFeature *feature)
 {
+  /* If no function is set, then subclass is supposed to call
+   * _tp_proxy_set_feature_prepared() itself. This is used by features prepared
+   * from constructed. */
   if (feature->prepare_async == NULL)
     return;
 



More information about the telepathy-commits mailing list