]> git.0d.be Git - empathy.git/commitdiff
Fix dispatching of tubes: stream tubes vs D-Bus tubes
authorAlban Crequy <alban.crequy@collabora.co.uk>
Mon, 2 Feb 2009 20:09:31 +0000 (20:09 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Mon, 2 Feb 2009 20:09:31 +0000 (20:09 +0000)
Signed-off-by: Alban Crequy <alban.crequy@collabora.co.uk>
svn path=/trunk/; revision=2365

libempathy/empathy-tube-handler.c

index 740c926d643854d580fcd2f19e2913b5653d1ce6..42ccba61f0e8b306793294af462c113244da1f76 100644 (file)
@@ -194,9 +194,9 @@ empathy_tube_handler_build_bus_name (EmpathyTubeType type,
   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);