[Telepathy-commits] [telepathy-glib/master] TpBaseConnection: switch to TP_DEBUG_FLAG_HANDLES for handle-ref code
Simon McVittie
simon.mcvittie at collabora.co.uk
Tue Oct 7 07:02:35 PDT 2008
---
telepathy-glib/base-connection.c | 18 +++++++++++++++++-
1 files changed, 17 insertions(+), 1 deletions(-)
diff --git a/telepathy-glib/base-connection.c b/telepathy-glib/base-connection.c
index af31182..cb644ad 100644
--- a/telepathy-glib/base-connection.c
+++ b/telepathy-glib/base-connection.c
@@ -251,7 +251,7 @@
#include <telepathy-glib/util.h>
#define DEBUG_FLAG TP_DEBUG_CONNECTION
-#include "debug-internal.h"
+#include "telepathy-glib/debug-internal.h"
static void conn_iface_init (gpointer, gpointer);
static void requests_iface_init (gpointer, gpointer);
@@ -1787,6 +1787,10 @@ tp_base_connection_get_status (TpSvcConnection *iface,
}
+#undef DEBUG_FLAG
+#define DEBUG_FLAG TP_DEBUG_HANDLES
+#include "telepathy-glib/debug-internal.h"
+
/**
* tp_base_connection_hold_handles
*
@@ -1892,6 +1896,10 @@ tp_base_connection_inspect_handles (TpSvcConnection *iface,
g_free (ret);
}
+#undef DEBUG_FLAG
+#define DEBUG_FLAG TP_DEBUG_CONNECTION
+#include "telepathy-glib/debug-internal.h"
+
/**
* list_channel_factory_foreach_one:
* @chan: a channel
@@ -2238,6 +2246,10 @@ ERROR:
}
+#undef DEBUG_FLAG
+#define DEBUG_FLAG TP_DEBUG_HANDLES
+#include "telepathy-glib/debug-internal.h"
+
/**
* tp_base_connection_release_handles
*
@@ -2394,6 +2406,10 @@ out:
}
}
+#undef DEBUG_FLAG
+#define DEBUG_FLAG TP_DEBUG_CONNECTION
+#include "telepathy-glib/debug-internal.h"
+
/**
* tp_base_connection_get_handles:
* @self: A connection
--
1.5.6.5
More information about the Telepathy-commits
mailing list