[Telepathy-commits] [telepathy-qt4/master] echo2: use "content-type", not the obsolete "type" (also changed in telepathy-glib)
Simon McVittie
simon.mcvittie at collabora.co.uk
Fri Feb 20 07:54:27 PST 2009
---
tests/lib/echo2/chan.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/lib/echo2/chan.c b/tests/lib/echo2/chan.c
index 0f2502d..90583cd 100644
--- a/tests/lib/echo2/chan.c
+++ b/tests/lib/echo2/chan.c
@@ -134,7 +134,7 @@ send_message (GObject *object,
/* in this example we ignore interface-specific parts */
- s = tp_asv_get_string (input, "type");
+ s = tp_asv_get_string (input, "content-type");
if (s == NULL)
continue;
@@ -148,9 +148,9 @@ send_message (GObject *object,
j = tp_message_append_part (received);
- s = tp_asv_get_string (input, "type");
+ s = tp_asv_get_string (input, "content-type");
g_assert (s != NULL); /* already checked */
- tp_message_set_string (received, j, "type", s);
+ tp_message_set_string (received, j, "content-type", s);
s = tp_asv_get_string (input, "identifier");
--
1.5.6.5
More information about the telepathy-commits
mailing list