summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@linux.intel.com>2009-11-12 12:03:13 +0000
committerEmmanuele Bassi <ebassi@linux.intel.com>2009-11-12 12:03:13 +0000
commit5f484d8c274a2b866f9a3d38eebe2baa1939b7ac (patch)
tree4a208b92916a3829e748b1c152cc004538229be5
parent3c7811bf24d4b957da730949af6795b728db5bad (diff)
downloadjson-glib-5f484d8c274a2b866f9a3d38eebe2baa1939b7ac.tar.gz
gobject: Add deprecation annotations
This makes it easier to detect when building without JSON_DISABLE_DEPRECATED.
-rw-r--r--json-glib/json-gobject.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/json-glib/json-gobject.h b/json-glib/json-gobject.h
index 8b6568d..89e8957 100644
--- a/json-glib/json-gobject.h
+++ b/json-glib/json-gobject.h
@@ -132,9 +132,9 @@ gchar * json_gobject_to_data (GObject *gobject,
GObject * json_construct_gobject (GType gtype,
const gchar *data,
gsize length,
- GError **error);
+ GError **error) G_GNUC_DEPRECATED;
gchar * json_serialize_gobject (GObject *gobject,
- gsize *length) G_GNUC_MALLOC;
+ gsize *length) G_GNUC_MALLOC G_GNUC_DEPRECATED;
#endif