summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2012-11-09 14:18:18 +0000
committerWill Thompson <will.thompson@collabora.co.uk>2012-11-09 14:18:18 +0000
commit5c34b7d2f170ff5f9ee9bf3821ececf55608d0df (patch)
tree2a1c6d9cf7d5f5b731a31e995cf09d021df29e37
parent8a3a8ba64195afd03c291282233d3b28abfd85d2 (diff)
im-channel: chain up in get_interfaces() impl
This is a no-op right now, but it's the right thing to do.
-rw-r--r--src/idle-im-channel.c4
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);