From 139d499b6eb5f4a758a9ef515252f59a91ccc25a Mon Sep 17 00:00:00 2001 From: Alban Crequy Date: Mon, 2 Feb 2009 20:09:31 +0000 Subject: Fix dispatching of tubes: stream tubes vs D-Bus tubes Signed-off-by: Alban Crequy svn path=/trunk/; revision=2365 --- libempathy/empathy-tube-handler.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libempathy') diff --git a/libempathy/empathy-tube-handler.c b/libempathy/empathy-tube-handler.c index 740c926d6..42ccba61f 100644 --- a/libempathy/empathy-tube-handler.c +++ b/libempathy/empathy-tube-handler.c @@ -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); -- cgit v1.2.3