summaryrefslogtreecommitdiff
path: root/telepathy-glib/media-interfaces.c
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2007-11-15 21:06:01 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2007-11-15 21:06:01 +0000
commit3a86af42d914849983925416ad3d75f6b0ef5e1d (patch)
tree38887155e25a338d9385af3f59b1975d88c7f432 /telepathy-glib/media-interfaces.c
parentf63d031e2b269e232886ea6f6e7aa18b3320291a (diff)
downloadtelepathy-glib-3a86af42d914849983925416ad3d75f6b0ef5e1d.tar.gz
Pre-set media (stream|session) handler interface
20071115210601-53eee-9c3ef85682c3b49d690360c46d4cc478ddccf389.gz
Diffstat (limited to 'telepathy-glib/media-interfaces.c')
-rw-r--r--telepathy-glib/media-interfaces.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/telepathy-glib/media-interfaces.c b/telepathy-glib/media-interfaces.c
index 903698301..bb2757f61 100644
--- a/telepathy-glib/media-interfaces.c
+++ b/telepathy-glib/media-interfaces.c
@@ -64,6 +64,10 @@ tp_media_stream_handler_init (TpMediaStreamHandler *self)
static void
tp_media_stream_handler_class_init (TpMediaStreamHandlerClass *klass)
{
+ TpProxyClass *proxy_class = (TpProxyClass *) klass;
+
+ proxy_class->must_have_unique_name = TRUE;
+ proxy_class->interface = TP_IFACE_QUARK_MEDIA_STREAM_HANDLER;
}
/**
@@ -98,4 +102,8 @@ tp_media_session_handler_init (TpMediaSessionHandler *self)
static void
tp_media_session_handler_class_init (TpMediaSessionHandlerClass *klass)
{
+ TpProxyClass *proxy_class = (TpProxyClass *) klass;
+
+ proxy_class->must_have_unique_name = TRUE;
+ proxy_class->interface = TP_IFACE_QUARK_MEDIA_SESSION_HANDLER;
}