Commit 278513d6 authored by Emmanuele Bassi's avatar Emmanuele Bassi

Ignore deprecation warning for g_object_newv()

We're not going to move to g_object_new_with_properties(), at least for
the time being.
parent 4c06e443
......@@ -2221,10 +2221,12 @@ _clutter_script_construct_object (ClutterScript *script,
properties,
&params);
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
parameters = (GParameter *) (void *) params->data;
oinfo->object = g_object_newv (oinfo->gtype,
params->len,
parameters);
G_GNUC_END_IGNORE_DEPRECATIONS
/* by sinking the floating reference, we make sure that the reference
* count is correct whether the object is referenced from somewhere
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment