From 692886962aec6022d4fab9cdbd9867f2acd7f75c Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Wed, 30 Apr 2008 21:44:38 +0000 Subject: Make use of tp-glib debug system. svn path=/trunk/; revision=1066 --- src/empathy-new-chatroom-dialog.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/empathy-new-chatroom-dialog.c') diff --git a/src/empathy-new-chatroom-dialog.c b/src/empathy-new-chatroom-dialog.c index 5db40c0fb..6aac17ada 100644 --- a/src/empathy-new-chatroom-dialog.c +++ b/src/empathy-new-chatroom-dialog.c @@ -39,7 +39,6 @@ #include #include #include -#include #include #include @@ -47,7 +46,8 @@ #include "empathy-new-chatroom-dialog.h" #include "ephy-spinner.h" -#define DEBUG_DOMAIN "NewChatroomDialog" +#define DEBUG_FLAG EMPATHY_DEBUG_OTHER +#include typedef struct { EmpathyTpRoomlist *room_list; @@ -397,9 +397,9 @@ new_chatroom_dialog_new_room_cb (EmpathyTpRoomlist *room_list, GtkListStore *store; GtkTreeIter iter; - empathy_debug (DEBUG_DOMAIN, "New chatroom listed: %s (%s)", - empathy_chatroom_get_name (chatroom), - empathy_chatroom_get_room (chatroom)); + DEBUG ("New chatroom listed: %s (%s)", + empathy_chatroom_get_name (chatroom), + empathy_chatroom_get_room (chatroom)); /* Add to model */ view = GTK_TREE_VIEW (dialog->treeview); @@ -506,7 +506,7 @@ new_chatroom_dialog_join (EmpathyNewChatroomDialog *dialog) room_name = g_strdup (room); } - empathy_debug (DEBUG_DOMAIN, "Requesting channel for '%s'", room_name); + DEBUG ("Requesting channel for '%s'", room_name); mc = empathy_mission_control_new (); mission_control_request_channel_with_string_handle (mc, -- cgit v1.2.3