empathy r2730 - branches/gnome-2-26/libempathy



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

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

From: Xavier Claessens <xclaesse gmail com>

Modified:
   branches/gnome-2-26/libempathy/empathy-call-handler.c

Modified: branches/gnome-2-26/libempathy/empathy-call-handler.c
==============================================================================
--- branches/gnome-2-26/libempathy/empathy-call-handler.c	(original)
+++ branches/gnome-2-26/libempathy/empathy-call-handler.c	Fri Mar 20 14:49:43 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]