summaryrefslogtreecommitdiff
path: root/json-glib/json-gobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'json-glib/json-gobject.h')
-rw-r--r--json-glib/json-gobject.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/json-glib/json-gobject.h b/json-glib/json-gobject.h
index 2e06d88..791fc9b 100644
--- a/json-glib/json-gobject.h
+++ b/json-glib/json-gobject.h
@@ -168,12 +168,14 @@ gchar * json_gobject_to_data (GObject *gobject
gsize *length);
#ifndef JSON_DISABLE_DEPRECATED
+JSON_DEPRECATED_FOR(json_gobject_from_data)
GObject * json_construct_gobject (GType gtype,
const gchar *data,
gsize length,
- GError **error) G_GNUC_DEPRECATED;
+ GError **error);
+JSON_DEPRECATED_FOR(json_gobject_to_data)
gchar * json_serialize_gobject (GObject *gobject,
- gsize *length) G_GNUC_MALLOC G_GNUC_DEPRECATED;
+ gsize *length) G_GNUC_MALLOC;
#endif /* JSON_DISABLE_DEPRECATED */