[telepathy-glib/master] Moved DEBUG_MESSAGE_LIMIT from header to source file.

Jonny Lamb jonny.lamb at collabora.co.uk
Fri Aug 28 04:35:22 PDT 2009


Signed-off-by: Jonny Lamb <jonny.lamb at collabora.co.uk>
---
 telepathy-glib/debugger.c |    6 ++++++
 telepathy-glib/debugger.h |    6 ------
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/telepathy-glib/debugger.c b/telepathy-glib/debugger.c
index 6563dd2..c8e1cab 100644
--- a/telepathy-glib/debugger.c
+++ b/telepathy-glib/debugger.c
@@ -68,6 +68,12 @@
 
 static TpDebugger *singleton = NULL;
 
+/* On the basis that messages are around 60 bytes on average, and that 50kb is
+ * a reasonable maximum size for a frame buffer.
+ */
+
+#define DEBUG_MESSAGE_LIMIT 800
+
 static void debug_iface_init (gpointer g_iface, gpointer iface_data);
 
 G_DEFINE_TYPE_WITH_CODE (TpDebugger, tp_debugger, G_TYPE_OBJECT,
diff --git a/telepathy-glib/debugger.h b/telepathy-glib/debugger.h
index 6f8c5f9..c267d5b 100644
--- a/telepathy-glib/debugger.h
+++ b/telepathy-glib/debugger.h
@@ -43,12 +43,6 @@ typedef struct _TpDebugMessage TpDebugMessage;
 #define TP_DEBUGGER_GET_CLASS(obj) \
   (G_TYPE_INSTANCE_GET_CLASS ((obj), TP_TYPE_DEBUGGER, TpDebuggerClass))
 
-/* On the basis that messages are around 60 bytes on average, and that 50kb is
- * a reasonable maximum size for a frame buffer.
- */
-
-#define DEBUG_MESSAGE_LIMIT 800
-
 struct _TpDebugMessage {
   /*<public>*/
   gdouble timestamp;
-- 
1.5.6.5




More information about the telepathy-commits mailing list