empathy r2365 - trunk/libempathy



Author: xclaesse
Date: Mon Feb  2 20:09:31 2009
New Revision: 2365
URL: http://svn.gnome.org/viewvc/empathy?rev=2365&view=rev

Log:
Fix dispatching of tubes: stream tubes vs D-Bus tubes

Signed-off-by: Alban Crequy <alban crequy collabora co uk>

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

Modified: trunk/libempathy/empathy-tube-handler.c
==============================================================================
--- trunk/libempathy/empathy-tube-handler.c	(original)
+++ trunk/libempathy/empathy-tube-handler.c	Mon Feb  2 20:09:31 2009
@@ -194,9 +194,9 @@
   g_return_val_if_fail (type <= EMPATHY_TYPE_DBUS_TUBE, NULL);
   g_return_val_if_fail (service != NULL, NULL);
 
-  if (type == TP_TUBE_TYPE_DBUS)
+  if (type == EMPATHY_TYPE_DBUS_TUBE)
     prefix = "org.gnome.Empathy.DTubeHandler.";
-  else if (type == TP_TUBE_TYPE_STREAM)
+  else if (type == EMPATHY_TYPE_STREAM_TUBE)
     prefix = "org.gnome.Empathy.StreamTubeHandler.";
   else
     g_return_val_if_reached (NULL);



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