diff options
author | Mikhail Zabaluev <mikhail.zabaluev@nokia.com> | 2008-11-20 09:57:57 +0200 |
---|---|---|
committer | Mikhail Zabaluev <mikhail.zabaluev@nokia.com> | 2008-11-20 09:57:57 +0200 |
commit | 12d4b2214804d57d0ad84db9b159e05c818d7a9a (patch) | |
tree | d9000b32ceabe2a3e008620a03ba02cf73343f62 | |
parent | ebc5661a1dfe3c78a946f481e010e365c75d1f25 (diff) |
Added Destroyable to the list of text channel interfaces
-rw-r--r-- | src/sip-text-channel.c | 1 | ||||
-rw-r--r-- | tests/twisted/test-message.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/sip-text-channel.c b/src/sip-text-channel.c index da437b8..1a075a6 100644 --- a/src/sip-text-channel.c +++ b/src/sip-text-channel.c @@ -70,6 +70,7 @@ G_DEFINE_TYPE_WITH_CODE (TpsipTextChannel, tpsip_text_channel, G_TYPE_OBJECT, G_IMPLEMENT_INTERFACE (TP_TYPE_CHANNEL_IFACE, NULL)); static const char *tpsip_text_channel_interfaces[] = { + TP_IFACE_CHANNEL_INTERFACE_DESTROYABLE, NULL }; diff --git a/tests/twisted/test-message.py b/tests/twisted/test-message.py index 280ba55..98cb083 100644 --- a/tests/twisted/test-message.py +++ b/tests/twisted/test-message.py @@ -28,7 +28,7 @@ def test_new_channel(q, bus, conn, target_uri, initiator_uri, requested): dbus_interface='org.freedesktop.DBus.Properties') assert text_props['ChannelType'] == TEXT_TYPE, text_props assert 'Interfaces' in text_props, text_props - assert text_props['Interfaces'] == [], text_props + assert text_props['Interfaces'] == [DESTROYABLE_IFACE], text_props assert 'TargetHandle' in text_props, text_props assert text_props['TargetHandle'] == handle, \ (text_props, handle) |