summaryrefslogtreecommitdiff
path: root/telepathy-glib/proxy.c
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.co.uk>2012-04-30 13:29:37 +0200
committerXavier Claessens <xavier.claessens@collabora.co.uk>2012-05-09 18:10:42 +0200
commit897cfccb89322cce4fa077a339739ec7d33fb26e (patch)
tree9bfd938470d6ceb81c9e1aac3f33e97b67b1f4c1 /telepathy-glib/proxy.c
parent5cc59603b4747632c53c4cafd1dfa39079281e10 (diff)
downloadtelepathy-glib-897cfccb89322cce4fa077a339739ec7d33fb26e.tar.gz
Add comment explaining what it means if feature->prepare_async is NULL
https://bugs.freedesktop.org/show_bug.cgi?id=49215
Diffstat (limited to 'telepathy-glib/proxy.c')
-rw-r--r--telepathy-glib/proxy.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/telepathy-glib/proxy.c b/telepathy-glib/proxy.c
index 9f8ac0734..a4a8c6832 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;