[Telepathy-commits] [telepathy-gabble/master] IM, MUC: include text/plain in SupportedContentTypes

Will Thompson will.thompson at collabora.co.uk
Tue Feb 3 06:34:52 PST 2009


---
 src/im-channel.c  |    5 ++++-
 src/muc-channel.c |    5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/im-channel.c b/src/im-channel.c
index 79ea68c..5c573d4 100644
--- a/src/im-channel.c
+++ b/src/im-channel.c
@@ -136,7 +136,10 @@ gabble_im_channel_constructor (GType type, guint n_props,
       TP_CHANNEL_TEXT_MESSAGE_TYPE_NOTICE,
   };
 
-  const gchar * const *supported_content_types = { NULL };
+  const gchar * supported_content_types[] = {
+      "text/plain",
+      NULL
+  };
 
   obj = G_OBJECT_CLASS (gabble_im_channel_parent_class)->
            constructor (type, n_props, props);
diff --git a/src/muc-channel.c b/src/muc-channel.c
index 7c7e21e..a48b497 100644
--- a/src/muc-channel.c
+++ b/src/muc-channel.c
@@ -306,7 +306,10 @@ gabble_muc_channel_constructor (GType type, guint n_props,
       TP_CHANNEL_TEXT_MESSAGE_TYPE_ACTION,
       TP_CHANNEL_TEXT_MESSAGE_TYPE_NOTICE,
   };
-  const gchar * const *supported_content_types = { NULL };
+  const gchar * supported_content_types[] = {
+      "text/plain",
+      NULL
+  };
 
   obj = G_OBJECT_CLASS (gabble_muc_channel_parent_class)->
            constructor (type, n_props, props);
-- 
1.5.6.5




More information about the telepathy-commits mailing list