From 2d374c38c8d57fb0d2d3a55f2004d6e6d08d12e7 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Mon, 16 Feb 2009 21:25:25 +0000 Subject: use TpTubeType instead of EmpathyTubeType From: Guillaume Desmottes svn path=/trunk/; revision=2490 --- src/empathy-tube-dispatch.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/empathy-tube-dispatch.c b/src/empathy-tube-dispatch.c index c051dec2f..b1e7bce6d 100644 --- a/src/empathy-tube-dispatch.c +++ b/src/empathy-tube-dispatch.c @@ -147,7 +147,7 @@ empathy_tube_dispatch_constructed (GObject *object) GHashTable *properties; const gchar *service; const gchar *channel_type; - EmpathyTubeType type; + TpTubeType type; priv->dbus = tp_dbus_daemon_new (tp_get_bus()); @@ -161,13 +161,13 @@ empathy_tube_dispatch_constructed (GObject *object) if (!tp_strdiff (channel_type, EMP_IFACE_CHANNEL_TYPE_STREAM_TUBE)) { - type = EMPATHY_TYPE_STREAM_TUBE; + type = TP_TUBE_TYPE_STREAM; service = tp_asv_get_string (properties, EMP_IFACE_CHANNEL_TYPE_STREAM_TUBE ".Service"); } else if (!tp_strdiff (channel_type, EMP_IFACE_CHANNEL_TYPE_DBUS_TUBE)) { - type = EMPATHY_TYPE_DBUS_TUBE; + type = TP_TUBE_TYPE_DBUS; service = tp_asv_get_string (properties, EMP_IFACE_CHANNEL_TYPE_DBUS_TUBE ".ServiceName"); } -- cgit v1.2.3