aboutsummaryrefslogtreecommitdiffstats
path: root/megaphone
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 /megaphone
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 'megaphone')
-rw-r--r--megaphone/src/megaphone-applet.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/megaphone/src/megaphone-applet.c b/megaphone/src/megaphone-applet.c
index ad0952891..24d3e07cf 100644
--- a/megaphone/src/megaphone-applet.c
+++ b/megaphone/src/megaphone-applet.c
@@ -39,7 +39,6 @@
#include <libempathy/empathy-contact.h>
#include <libempathy/empathy-contact-list.h>
#include <libempathy/empathy-contact-manager.h>
-#include <libempathy/empathy-debug.h>
#include <libempathy/empathy-utils.h>
#include <libempathy-gtk/empathy-contact-list-view.h>
@@ -49,7 +48,8 @@
#include "megaphone-applet.h"
-#define DEBUG_DOMAIN "MegaphoneApplet"
+#define DEBUG_FLAG EMPATHY_DEBUG_OTHER
+#include <libempathy/empathy-debug.h>
#define GET_PRIV(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), MEGAPHONE_TYPE_APPLET, MegaphoneAppletPriv))
@@ -268,7 +268,7 @@ megaphone_applet_set_contact (MegaphoneApplet *applet,
McAccount *account = NULL;
gchar **strv = NULL;
- empathy_debug (DEBUG_DOMAIN, "Setting new contact %s", str);
+ DEBUG ("Setting new contact %s", str);
/* Release old contact, if any */
if (priv->contact) {
@@ -442,9 +442,9 @@ megaphone_applet_button_press_event_cb (GtkWidget *widget,
return TRUE;
}
- empathy_debug (DEBUG_DOMAIN, "Requesting text channel for contact %s (%d)",
- empathy_contact_get_id (priv->contact),
- empathy_contact_get_handle (priv->contact));
+ DEBUG ("Requesting text channel for contact %s (%d)",
+ empathy_contact_get_id (priv->contact),
+ empathy_contact_get_handle (priv->contact));
mc = empathy_mission_control_new ();
mission_control_request_channel (mc,
@@ -492,7 +492,7 @@ megaphone_applet_gconf_notify_cb (GConfClient *client,
key = gconf_entry_get_key (entry);
value = gconf_entry_get_value (entry);
- empathy_debug (DEBUG_DOMAIN, "GConf notification for key '%s'", key);
+ DEBUG ("GConf notification for key '%s'", key);
if (value && g_str_has_suffix (key, "/contact_id")) {
megaphone_applet_set_contact (applet,
@@ -514,7 +514,7 @@ megaphone_applet_factory (PanelApplet *applet,
return FALSE;
}
- empathy_debug (DEBUG_DOMAIN, "Starting up new instance!");
+ DEBUG ("Starting up new instance!");
/* Set up the right-click menu */
panel_applet_setup_menu_from_file (applet,