summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2012-10-30 09:00:01 +0000
committerWill Thompson <will.thompson@collabora.co.uk>2012-10-30 09:00:01 +0000
commit78cd99642e495a0a60c66709d78d9564444779e7 (patch)
tree9a1b199ed318e3e61656fe2bc47b94ec2b14c6dc
parent04b6b070c32e3cd54a9c8c0bb218899fc6208eb4 (diff)
Add a debug flag for roomlist code.
-rw-r--r--src/idle-debug.h1
-rw-r--r--src/idle-roomlist-channel.c3
-rw-r--r--src/idle-roomlist-manager.c3
3 files changed, 3 insertions, 4 deletions
diff --git a/src/idle-debug.h b/src/idle-debug.h
index 6677d2f..9564bc0 100644
--- a/src/idle-debug.h
+++ b/src/idle-debug.h
@@ -30,6 +30,7 @@ typedef enum {
IDLE_DEBUG_NETWORK = (1 << 4),
IDLE_DEBUG_PARSER = (1 << 5),
IDLE_DEBUG_TEXT = (1 << 6),
+ IDLE_DEBUG_ROOMLIST = (1 << 7),
} IdleDebugFlags;
void idle_debug_init (void);
diff --git a/src/idle-roomlist-channel.c b/src/idle-roomlist-channel.c
index c88a73e..f85adb6 100644
--- a/src/idle-roomlist-channel.c
+++ b/src/idle-roomlist-channel.c
@@ -26,8 +26,7 @@
#include <dbus/dbus-glib.h>
-/* FIXME: add new debug flag? */
-#define IDLE_DEBUG_FLAG IDLE_DEBUG_CONNECTION
+#define IDLE_DEBUG_FLAG IDLE_DEBUG_ROOMLIST
#include "idle-connection.h"
#include "idle-debug.h"
#include "idle-text.h"
diff --git a/src/idle-roomlist-manager.c b/src/idle-roomlist-manager.c
index 90921bb..5767de6 100644
--- a/src/idle-roomlist-manager.c
+++ b/src/idle-roomlist-manager.c
@@ -27,8 +27,7 @@
#include <telepathy-glib/dbus.h>
#include <telepathy-glib/util.h>
-/* FIXME: add new debug flag ? */
-#define IDLE_DEBUG_FLAG IDLE_DEBUG_CONNECTION
+#define IDLE_DEBUG_FLAG IDLE_DEBUG_ROOMLIST
#include "idle-connection.h"
#include "idle-debug.h"
#include "idle-roomlist-channel.h"