telepathy-idle: Add a debug flag for roomlist code.
Will Thompson
wjt at kemper.freedesktop.org
Tue Oct 30 02:01:08 PDT 2012
Module: telepathy-idle
Branch: master
Commit: 78cd99642e495a0a60c66709d78d9564444779e7
URL: http://cgit.freedesktop.org/telepathy/telepathy-idle/commit/?id=78cd99642e495a0a60c66709d78d9564444779e7
Author: Will Thompson <will.thompson at collabora.co.uk>
Date: Tue Oct 30 09:00:01 2012 +0000
Add a debug flag for roomlist code.
---
src/idle-debug.h | 1 +
src/idle-roomlist-channel.c | 3 +--
src/idle-roomlist-manager.c | 3 +--
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"
More information about the telepathy-commits
mailing list