summaryrefslogtreecommitdiff
path: root/src/im-channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/im-channel.c')
-rw-r--r--src/im-channel.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/im-channel.c b/src/im-channel.c
index f335c9848..fdac5b224 100644
--- a/src/im-channel.c
+++ b/src/im-channel.c
@@ -176,6 +176,13 @@ gabble_im_channel_fill_immutable_properties (TpBaseChannel *chan,
NULL);
}
+static gchar *
+gabble_im_channel_get_object_path_suffix (TpBaseChannel *chan)
+{
+ return g_strdup_printf ("ImChannel%u",
+ tp_base_channel_get_target_handle (chan));
+}
+
static void
gabble_im_channel_class_init (GabbleIMChannelClass *gabble_im_channel_class)
{
@@ -196,6 +203,7 @@ gabble_im_channel_class_init (GabbleIMChannelClass *gabble_im_channel_class)
base_class->close = gabble_im_channel_close;
base_class->fill_immutable_properties =
gabble_im_channel_fill_immutable_properties;
+ base_class->get_object_path_suffix = gabble_im_channel_get_object_path_suffix;
tp_message_mixin_init_dbus_properties (object_class);
}