diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-01-10 00:16:05 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2009-01-10 00:16:05 +0800 |
commit | 702870d6d81ef54dc33bed04b34c6b5a89c597d9 (patch) | |
tree | 12bc9d72a181332a1daed1c625c21397b958ed2d /libempathy/empathy-tube-handler.c | |
parent | a2c51caa1ffb0bdd4c95d4d45fc442dbf91b27c7 (diff) | |
download | gsoc2013-empathy-702870d6d81ef54dc33bed04b34c6b5a89c597d9.tar gsoc2013-empathy-702870d6d81ef54dc33bed04b34c6b5a89c597d9.tar.gz gsoc2013-empathy-702870d6d81ef54dc33bed04b34c6b5a89c597d9.tar.bz2 gsoc2013-empathy-702870d6d81ef54dc33bed04b34c6b5a89c597d9.tar.lz gsoc2013-empathy-702870d6d81ef54dc33bed04b34c6b5a89c597d9.tar.xz gsoc2013-empathy-702870d6d81ef54dc33bed04b34c6b5a89c597d9.tar.zst gsoc2013-empathy-702870d6d81ef54dc33bed04b34c6b5a89c597d9.zip |
Don't use the old style TpTubeType
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
svn path=/trunk/; revision=2200
Diffstat (limited to 'libempathy/empathy-tube-handler.c')
-rw-r--r-- | libempathy/empathy-tube-handler.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/libempathy/empathy-tube-handler.c b/libempathy/empathy-tube-handler.c index cdd868efe..740c926d6 100644 --- a/libempathy/empathy-tube-handler.c +++ b/libempathy/empathy-tube-handler.c @@ -144,7 +144,7 @@ empathy_tube_handler_init (EmpathyTubeHandler *thandler) } EmpathyTubeHandler * -empathy_tube_handler_new (TpTubeType type, const gchar *service) +empathy_tube_handler_new (EmpathyTubeType type, const gchar *service) { EmpathyTubeHandler *thandler = NULL; DBusGProxy *proxy; @@ -153,7 +153,7 @@ empathy_tube_handler_new (TpTubeType type, const gchar *service) gchar *object_path; GError *error = NULL; - g_return_val_if_fail (type <= TP_TUBE_TYPE_STREAM, NULL); + g_return_val_if_fail (type <= EMPATHY_TYPE_DBUS_TUBE, NULL); g_return_val_if_fail (service != NULL, NULL); bus_name = empathy_tube_handler_build_bus_name (type, service); @@ -185,12 +185,13 @@ OUT: } gchar * -empathy_tube_handler_build_bus_name (TpTubeType type, const gchar *service) +empathy_tube_handler_build_bus_name (EmpathyTubeType type, + const gchar *service) { gchar *str = NULL; const gchar *prefix = NULL; - g_return_val_if_fail (type <= TP_TUBE_TYPE_STREAM, NULL); + 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) @@ -206,12 +207,13 @@ empathy_tube_handler_build_bus_name (TpTubeType type, const gchar *service) } gchar * -empathy_tube_handler_build_object_path (TpTubeType type, const gchar *service) +empathy_tube_handler_build_object_path (EmpathyTubeType type, + const gchar *service) { gchar *bus_name; gchar *str; - g_return_val_if_fail (type <= TP_TUBE_TYPE_STREAM, NULL); + g_return_val_if_fail (type <= EMPATHY_TYPE_DBUS_TUBE, NULL); g_return_val_if_fail (service != NULL, NULL); bus_name = empathy_tube_handler_build_bus_name (type, service); |