[Telepathy-commits] [telepathy-glib/master] Remove references to TP_MESSAGE_PART_SUPPORT_FLAG_DATA_ONLY
Will Thompson
will.thompson at collabora.co.uk
Thu Dec 18 10:41:52 PST 2008
It was removed in spec version 0.17.14
---
examples/cm/echo-message-parts/chan.c | 1 -
tests/dbus/message-mixin.c | 8 ++++++--
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/examples/cm/echo-message-parts/chan.c b/examples/cm/echo-message-parts/chan.c
index eeae2f3..e5b0502 100644
--- a/examples/cm/echo-message-parts/chan.c
+++ b/examples/cm/echo-message-parts/chan.c
@@ -216,7 +216,6 @@ constructor (GType type,
tp_message_mixin_implement_sending (object, send_message,
(sizeof (types) / sizeof (types[0])), types,
- TP_MESSAGE_PART_SUPPORT_FLAG_DATA_ONLY |
TP_MESSAGE_PART_SUPPORT_FLAG_ONE_ATTACHMENT |
TP_MESSAGE_PART_SUPPORT_FLAG_MULTIPLE_ATTACHMENTS,
content_types);
diff --git a/tests/dbus/message-mixin.c b/tests/dbus/message-mixin.c
index 636213d..cd78014 100644
--- a/tests/dbus/message-mixin.c
+++ b/tests/dbus/message-mixin.c
@@ -321,7 +321,9 @@ main (int argc,
g_hash_table_size (properties));
MYASSERT (tp_asv_get_uint32 (properties, "MessagePartSupportFlags", NULL)
- == 7, "");
+ == ( TP_MESSAGE_PART_SUPPORT_FLAG_ONE_ATTACHMENT
+ | TP_MESSAGE_PART_SUPPORT_FLAG_MULTIPLE_ATTACHMENTS
+ ), "");
MYASSERT ((value = tp_asv_lookup (properties, "SupportedContentTypes"))
!= NULL, "");
@@ -970,7 +972,9 @@ main (int argc,
g_hash_table_size (properties));
MYASSERT (tp_asv_get_uint32 (properties, "MessagePartSupportFlags", NULL)
- == 7, "");
+ == ( TP_MESSAGE_PART_SUPPORT_FLAG_ONE_ATTACHMENT
+ | TP_MESSAGE_PART_SUPPORT_FLAG_MULTIPLE_ATTACHMENTS
+ ), "");
MYASSERT ((value = tp_asv_lookup (properties, "SupportedContentTypes"))
!= NULL, "");
--
1.5.6.5
More information about the Telepathy-commits
mailing list