diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-05-01 05:44:38 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-05-01 05:44:38 +0800 |
commit | 692886962aec6022d4fab9cdbd9867f2acd7f75c (patch) | |
tree | f0db8cc8325ed3b377d5663c7377db6967e41e8b /libempathy/empathy-tube-handler.c | |
parent | fb06002dc6fcf523f22f671aeaf22054515e926a (diff) | |
download | gsoc2013-empathy-692886962aec6022d4fab9cdbd9867f2acd7f75c.tar gsoc2013-empathy-692886962aec6022d4fab9cdbd9867f2acd7f75c.tar.gz gsoc2013-empathy-692886962aec6022d4fab9cdbd9867f2acd7f75c.tar.bz2 gsoc2013-empathy-692886962aec6022d4fab9cdbd9867f2acd7f75c.tar.lz gsoc2013-empathy-692886962aec6022d4fab9cdbd9867f2acd7f75c.tar.xz gsoc2013-empathy-692886962aec6022d4fab9cdbd9867f2acd7f75c.tar.zst gsoc2013-empathy-692886962aec6022d4fab9cdbd9867f2acd7f75c.zip |
Make use of tp-glib debug system.
svn path=/trunk/; revision=1066
Diffstat (limited to 'libempathy/empathy-tube-handler.c')
-rw-r--r-- | libempathy/empathy-tube-handler.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libempathy/empathy-tube-handler.c b/libempathy/empathy-tube-handler.c index 3e363837f..2bbaea18c 100644 --- a/libempathy/empathy-tube-handler.c +++ b/libempathy/empathy-tube-handler.c @@ -31,11 +31,11 @@ #include <extensions/extensions.h> -#include "empathy-debug.h" #include "empathy-tp-tube.h" #include "empathy-tube-handler.h" -#define DEBUG_DOMAIN "TubeHandler" +#define DEBUG_FLAG EMPATHY_DEBUG_OTHER +#include "empathy-debug.h" static void empathy_tube_handler_iface_init (EmpSvcTubeHandlerClass *klass); @@ -71,7 +71,7 @@ tube_handler_handle_tube_idle_cb (gpointer data) EmpathyTpTube *tube; static TpDBusDaemon *daemon = NULL; - empathy_debug (DEBUG_DOMAIN, "New tube to be handled id=%d", idle_data->id); + DEBUG ("New tube to be handled id=%d", idle_data->id); if (!daemon) daemon = tp_dbus_daemon_new (tp_get_bus ()); @@ -169,7 +169,7 @@ empathy_tube_handler_new (TpTubeType type, const gchar *service) G_TYPE_STRING, bus_name, G_TYPE_UINT, DBUS_NAME_FLAG_DO_NOT_QUEUE, G_TYPE_INVALID, G_TYPE_UINT, &result, G_TYPE_INVALID)) { - empathy_debug (DEBUG_DOMAIN, "Failed to request name: %s", + DEBUG ("Failed to request name: %s", error ? error->message : "No error given"); g_clear_error (&error); goto OUT; |