]> git.0d.be Git - empathy.git/blobdiff - src/empathy-tube-dispatch.c
use TpTubeType instead of EmpathyTubeType
[empathy.git] / src / empathy-tube-dispatch.c
index c051dec2f9e9b5ddd4e5101aa21f197071e46349..b1e7bce6d18d13c3ec1ef4efc087b4393a25afb6 100644 (file)
@@ -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");
     }