[next] telepathy-glib: C text handler: comment why the subclass / feature-prep works

Simon McVittie smcv at kemper.freedesktop.org
Fri Sep 13 09:21:05 PDT 2013


Module: telepathy-glib
Branch: next
Commit: 21b395c356549d821b30253f6ec5be8dbd15e333
URL:    http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=21b395c356549d821b30253f6ec5be8dbd15e333

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Fri Sep  6 12:20:30 2013 +0100

C text handler: comment why the subclass / feature-prep works

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=54061
Reviewed-by: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>

---

 examples/client/text-handler.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/examples/client/text-handler.c b/examples/client/text-handler.c
index c9cf2d7..4eb94f5 100644
--- a/examples/client/text-handler.c
+++ b/examples/client/text-handler.c
@@ -106,9 +106,9 @@ handle_channels_cb (TpSimpleHandler *self,
       g_signal_connect (channel, "message-received",
           G_CALLBACK (message_received_cb), NULL);
 
-      /* The default channel factory used by the TpSimpleHandler has
-       * already prepared TP_TEXT_CHANNEL_FEATURE_INCOMING_MESSAGES,
-       * if possible. */
+      /* The default TpAutomaticClientFactory used by
+       * tp_account_manager_dup() has already prepared
+       * TP_TEXT_CHANNEL_FEATURE_INCOMING_MESSAGES, if possible. */
       display_pending_messages (text_chan);
     }
 



More information about the telepathy-commits mailing list