aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-conf.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-05-01 05:44:38 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-05-01 05:44:38 +0800
commit692886962aec6022d4fab9cdbd9867f2acd7f75c (patch)
treef0db8cc8325ed3b377d5663c7377db6967e41e8b /libempathy-gtk/empathy-conf.c
parentfb06002dc6fcf523f22f671aeaf22054515e926a (diff)
downloadgsoc2013-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-gtk/empathy-conf.c')
-rw-r--r--libempathy-gtk/empathy-conf.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/libempathy-gtk/empathy-conf.c b/libempathy-gtk/empathy-conf.c
index 1ec3feeb4..0ecb8e166 100644
--- a/libempathy-gtk/empathy-conf.c
+++ b/libempathy-gtk/empathy-conf.c
@@ -26,11 +26,10 @@
#include <gconf/gconf-client.h>
-#include <libempathy/empathy-debug.h>
-
#include "empathy-conf.h"
-#define DEBUG_DOMAIN "Config"
+#define DEBUG_FLAG EMPATHY_DEBUG_OTHER
+#include <libempathy/empathy-debug.h>
#define EMPATHY_CONF_ROOT "/apps/empathy"
#define DESKTOP_INTERFACE_ROOT "/desktop/gnome/interface"
@@ -131,7 +130,7 @@ empathy_conf_set_int (EmpathyConf *conf,
g_return_val_if_fail (EMPATHY_IS_CONF (conf), FALSE);
- empathy_debug (DEBUG_DOMAIN, "Setting int:'%s' to %d", key, value);
+ DEBUG ("Setting int:'%s' to %d", key, value);
priv = GET_PRIV (conf);
@@ -177,8 +176,8 @@ empathy_conf_set_bool (EmpathyConf *conf,
g_return_val_if_fail (EMPATHY_IS_CONF (conf), FALSE);
- empathy_debug (DEBUG_DOMAIN, "Setting bool:'%s' to %d ---> %s",
- key, value, value ? "true" : "false");
+ DEBUG ("Setting bool:'%s' to %d ---> %s", key, value,
+ value ? "true" : "false");
priv = GET_PRIV (conf);
@@ -224,8 +223,7 @@ empathy_conf_set_string (EmpathyConf *conf,
g_return_val_if_fail (EMPATHY_IS_CONF (conf), FALSE);
- empathy_debug (DEBUG_DOMAIN, "Setting string:'%s' to '%s'",
- key, value);
+ DEBUG ("Setting string:'%s' to '%s'", key, value);
priv = GET_PRIV (conf);