From 7707b18f42b3a19dd780ba73ce1dabb6b8ef3c95 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Sat, 25 Sep 2010 11:48:25 +0100 Subject: debug: Add debug flags for GObject-related code --- json-glib/json-debug.c | 3 ++- json-glib/json-debug.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/json-glib/json-debug.c b/json-glib/json-debug.c index 471d082..dd725c4 100644 --- a/json-glib/json-debug.c +++ b/json-glib/json-debug.c @@ -9,7 +9,8 @@ static gboolean json_debug_flags_set = FALSE; #ifdef JSON_ENABLE_DEBUG static const GDebugKey json_debug_keys[] = { - { "parser", JSON_DEBUG_PARSER } + { "parser", JSON_DEBUG_PARSER }, + { "gobject", JSON_DEBUG_GOBJECT } }; #endif /* JSON_ENABLE_DEBUG */ diff --git a/json-glib/json-debug.h b/json-glib/json-debug.h index dc0d861..20f22c6 100644 --- a/json-glib/json-debug.h +++ b/json-glib/json-debug.h @@ -6,7 +6,8 @@ G_BEGIN_DECLS typedef enum { - JSON_DEBUG_PARSER = 1 << 0 + JSON_DEBUG_PARSER = 1 << 0, + JSON_DEBUG_GOBJECT = 1 << 1 } JsonDebugFlags; #ifdef JSON_ENABLE_DEBUG -- cgit v1.2.1