telepathy-idle: im-channel: chain up in get_interfaces() impl

Will Thompson wjt at kemper.freedesktop.org
Wed Nov 14 11:12:53 PST 2012


Module: telepathy-idle
Branch: master
Commit: 5c34b7d2f170ff5f9ee9bf3821ececf55608d0df
URL:    http://cgit.freedesktop.org/telepathy/telepathy-idle/commit/?id=5c34b7d2f170ff5f9ee9bf3821ececf55608d0df

Author: Will Thompson <will.thompson at collabora.co.uk>
Date:   Fri Nov  9 14:18:18 2012 +0000

im-channel: chain up in get_interfaces() impl

This is a no-op right now, but it's the right thing to do.

---

 src/idle-im-channel.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/idle-im-channel.c b/src/idle-im-channel.c
index 75afe90..0b6ca79 100644
--- a/src/idle-im-channel.c
+++ b/src/idle-im-channel.c
@@ -171,7 +171,9 @@ idle_im_channel_close (TpBaseChannel *base)
 static GPtrArray *
 idle_im_channel_get_interfaces (TpBaseChannel *channel)
 {
-  GPtrArray *interfaces = g_ptr_array_sized_new (2);
+  GPtrArray *interfaces =
+      TP_BASE_CHANNEL_CLASS (idle_im_channel_parent_class)->get_interfaces (
+          channel);
 
   g_ptr_array_add (interfaces, TP_IFACE_CHANNEL_INTERFACE_MESSAGES);
   g_ptr_array_add (interfaces, TP_IFACE_CHANNEL_INTERFACE_DESTROYABLE);



More information about the telepathy-commits mailing list