summaryrefslogtreecommitdiff
path: root/json-glib/json-gobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'json-glib/json-gobject.c')
-rw-r--r--json-glib/json-gobject.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/json-glib/json-gobject.c b/json-glib/json-gobject.c
index 923f0e1..a7a53a2 100644
--- a/json-glib/json-gobject.c
+++ b/json-glib/json-gobject.c
@@ -247,9 +247,11 @@ json_gobject_new (GType gtype,
members_left = g_list_prepend (members_left, l->data);
}
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
retval = g_object_newv (gtype,
construct_params->len,
(GParameter *) construct_params->data);
+ G_GNUC_END_IGNORE_DEPRECATIONS
/* free the contents of the GArray */
for (i = 0; i < construct_params->len; i++)