[json-glib] gobject: Add deprecation annotations
- From: Emmanuele Bassi <ebassi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [json-glib] gobject: Add deprecation annotations
- Date: Thu, 12 Nov 2009 12:31:14 +0000 (UTC)
commit 5f484d8c274a2b866f9a3d38eebe2baa1939b7ac
Author: Emmanuele Bassi <ebassi linux intel com>
Date: Thu Nov 12 12:03:13 2009 +0000
gobject: Add deprecation annotations
This makes it easier to detect when building without
JSON_DISABLE_DEPRECATED.
json-glib/json-gobject.h | 4 ++--
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]