[Telepathy-commits] [telepathy-gabble/master] register: use DEBUG instead of g_debug
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Tue Aug 19 10:54:21 PDT 2008
20080804083315-7fe3f-e78240def4057e1579abd6c1ee3d3d21f4ba170f.gz
---
src/register.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/register.c b/src/register.c
index 33dd632..3257fde 100644
--- a/src/register.c
+++ b/src/register.c
@@ -33,7 +33,9 @@
#include <telepathy-glib/dbus.h>
#include <telepathy-glib/errors.h>
+#define DEBUG_FLAG GABBLE_DEBUG_CONNECTION
#include "connection.h"
+#include "debug.h"
#include "error.h"
#include "gabble-signals-marshal.h"
#include "namespaces.h"
@@ -166,7 +168,7 @@ gabble_register_dispose (GObject *object)
priv->dispose_has_run = TRUE;
- g_debug ("%s: dispose called", G_STRFUNC);
+ DEBUG ("dispose called");
if (G_OBJECT_CLASS (gabble_register_parent_class)->dispose)
G_OBJECT_CLASS (gabble_register_parent_class)->dispose (object);
@@ -175,7 +177,7 @@ gabble_register_dispose (GObject *object)
void
gabble_register_finalize (GObject *object)
{
- g_debug ("%s called with %p", G_STRFUNC, object);
+ DEBUG ("called with %p", object);
G_OBJECT_CLASS (gabble_register_parent_class)->finalize (object);
}
--
1.5.6.3
More information about the Telepathy-commits
mailing list