diff options
author | Emmanuele Bassi <ebassi@linux.intel.com> | 2010-09-25 11:49:19 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@linux.intel.com> | 2010-09-25 11:52:07 +0100 |
commit | ff5dd56e4f864d0c015dcd66fa852f9cf7cf90dd (patch) | |
tree | d783dfde4c03d54548fbb1d2a9a3a174af536685 /json-glib/json-serializable.c | |
parent | 7707b18f42b3a19dd780ba73ce1dabb6b8ef3c95 (diff) | |
download | json-glib-ff5dd56e4f864d0c015dcd66fa852f9cf7cf90dd.tar.gz |
debug: Add debug notes in the GObject code
Diffstat (limited to 'json-glib/json-serializable.c')
-rw-r--r-- | json-glib/json-serializable.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/json-glib/json-serializable.c b/json-glib/json-serializable.c index 43ada37..1263eec 100644 --- a/json-glib/json-serializable.c +++ b/json-glib/json-serializable.c @@ -36,6 +36,7 @@ #include "json-types-private.h" #include "json-gobject-private.h" +#include "json-debug.h" /** * json_serializable_serialize_property: @@ -111,6 +112,7 @@ json_serializable_real_deserialize (JsonSerializable *serializable, GParamSpec *pspec, JsonNode *node) { + JSON_NOTE (GOBJECT, "Default deserialization for property '%s'", pspec->name); return json_deserialize_pspec (value, pspec, node); } @@ -120,6 +122,7 @@ json_serializable_real_serialize (JsonSerializable *serializable, const GValue *value, GParamSpec *pspec) { + JSON_NOTE (GOBJECT, "Default serialization for property '%s'", pspec->name); return json_serialize_pspec (value, pspec); } |