aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tube-handler.c
diff options
context:
space:
mode:
authorAlban Crequy <alban.crequy@collabora.co.uk>2009-02-03 04:09:31 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-02-03 04:09:31 +0800
commit139d499b6eb5f4a758a9ef515252f59a91ccc25a (patch)
treed195777d7af6875cf63b084231c1c529541f94af /libempathy/empathy-tube-handler.c
parentdc62d75dc0065bde6b4deeb0af67fd38cbca7284 (diff)
downloadgsoc2013-empathy-139d499b6eb5f4a758a9ef515252f59a91ccc25a.tar
gsoc2013-empathy-139d499b6eb5f4a758a9ef515252f59a91ccc25a.tar.gz
gsoc2013-empathy-139d499b6eb5f4a758a9ef515252f59a91ccc25a.tar.bz2
gsoc2013-empathy-139d499b6eb5f4a758a9ef515252f59a91ccc25a.tar.lz
gsoc2013-empathy-139d499b6eb5f4a758a9ef515252f59a91ccc25a.tar.xz
gsoc2013-empathy-139d499b6eb5f4a758a9ef515252f59a91ccc25a.tar.zst
gsoc2013-empathy-139d499b6eb5f4a758a9ef515252f59a91ccc25a.zip
Fix dispatching of tubes: stream tubes vs D-Bus tubes
Signed-off-by: Alban Crequy <alban.crequy@collabora.co.uk> svn path=/trunk/; revision=2365
Diffstat (limited to 'libempathy/empathy-tube-handler.c')
-rw-r--r--libempathy/empathy-tube-handler.c4
1 files changed, 2 insertions, 2 deletions
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);