empathy r2728 - trunk/libempathy



Author: xclaesse
Date: Fri Mar 20 14:47:55 2009
New Revision: 2728
URL: http://svn.gnome.org/viewvc/empathy?rev=2728&view=rev

Log:
Do not assert if the CM does not support RequestableChannelClasses

From: Xavier Claessens <xclaesse gmail com>

Modified:
   trunk/libempathy/empathy-call-handler.c

Modified: trunk/libempathy/empathy-call-handler.c
==============================================================================
--- trunk/libempathy/empathy-call-handler.c	(original)
+++ trunk/libempathy/empathy-call-handler.c	Fri Mar 20 14:47:55 2009
@@ -422,9 +422,9 @@
   allowed = empathy_dispatcher_find_channel_class (dispatcher, account,
     TP_IFACE_CHANNEL_TYPE_STREAMED_MEDIA, TP_HANDLE_TYPE_CONTACT);
 
-  if (!tp_strv_contains ((const gchar * const *)allowed,
+  if (!tp_strv_contains ((const gchar * const *) allowed,
       TP_IFACE_CHANNEL ".TargetHandle"))
-    g_assert_not_reached ();
+    return;
 
   /* org.freedesktop.Telepathy.Channel.ChannelType */
   value = tp_g_value_slice_new (G_TYPE_STRING);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]