diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2014-03-14 12:56:45 +0100 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2014-03-14 12:56:45 +0100 |
commit | db4715246a5ccb28dd427f467cfdd4a34b4e65ff (patch) | |
tree | 3a02ce47c34fb756fe4720ccbea1dd2bc5b9cad0 | |
parent | 10259fa5d3b5dddc3b2202a36e4b6b621890fab1 (diff) | |
download | telepathy-glib-db4715246a5ccb28dd427f467cfdd4a34b4e65ff.tar.gz |
call-channel: pass our factory to TpCallContent objects
Partially fix fdo#76168.
-rw-r--r-- | telepathy-glib/call-channel.c | 1 | ||||
-rw-r--r-- | tests/dbus/call-channel.c | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/telepathy-glib/call-channel.c b/telepathy-glib/call-channel.c index 59dd90ba7..8ed76323b 100644 --- a/telepathy-glib/call-channel.c +++ b/telepathy-glib/call-channel.c @@ -132,6 +132,7 @@ _tp_call_content_new (TpCallChannel *self, "object-path", object_path, "connection", tp_channel_get_connection ((TpChannel *) self), "channel", self, + "factory", tp_proxy_get_factory (self), NULL); } diff --git a/tests/dbus/call-channel.c b/tests/dbus/call-channel.c index 12bafce78..1269f2bdd 100644 --- a/tests/dbus/call-channel.c +++ b/tests/dbus/call-channel.c @@ -658,7 +658,9 @@ test_basics (Test *test, g_main_loop_run (test->mainloop); g_assert_no_error (test->error); - g_assert (test->added_content != NULL); + g_assert (TP_IS_CALL_CONTENT (test->added_content)); + g_assert (tp_proxy_get_factory (test->added_content) == + tp_proxy_get_factory (test->call_chan)); video_content = test->added_content; tp_tests_proxy_run_until_prepared (video_content, NULL); |