]> git.0d.be Git - empathy.git/blobdiff - libempathy/empathy-contact.c
Make use of tp-glib debug system.
[empathy.git] / libempathy / empathy-contact.c
index 87e7c62be934659115581a83e9530b181e6efe01..639cd9388664183afb8006e45548dc61e26d369b 100644 (file)
 
 #include "empathy-contact.h"
 #include "empathy-utils.h"
 
 #include "empathy-contact.h"
 #include "empathy-utils.h"
-#include "empathy-debug.h"
 #include "empathy-enum-types.h"
 
 #include "empathy-enum-types.h"
 
-#define DEBUG_DOMAIN "Contact"
+#define DEBUG_FLAG EMPATHY_DEBUG_CONTACT
+#include "empathy-debug.h"
 
 #define GET_PRIV(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), EMPATHY_TYPE_CONTACT, EmpathyContactPriv))
 
 
 #define GET_PRIV(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), EMPATHY_TYPE_CONTACT, EmpathyContactPriv))
 
@@ -195,7 +195,7 @@ contact_finalize (GObject *object)
 
        priv = GET_PRIV (object);
 
 
        priv = GET_PRIV (object);
 
-       empathy_debug (DEBUG_DOMAIN, "finalize: %p", object);
+       DEBUG ("finalize: %p", object);
 
        g_free (priv->name);
        g_free (priv->id);
 
        g_free (priv->name);
        g_free (priv->id);