gobject: Deprecate g_object_newv

g_object_newv uses a GParameter as argument. Since GParameter
is deprecated due to this type is not introspectible,
g_object_newv is deprecated now.

https://bugzilla.gnome.org/show_bug.cgi?id=709865
This commit is contained in:
Fabian Orccon
2017-01-26 19:54:30 -05:00
committed by Philip Withnall
parent 3151da15d7
commit e2c3b7f634
2 changed files with 7 additions and 4 deletions

View File

@@ -425,7 +425,7 @@ GObject* g_object_new_with_properties (GType object_type,
guint n_properties,
const char *names[],
const GValue values[]);
GLIB_AVAILABLE_IN_ALL
GLIB_DEPRECATED_IN_2_52_FOR(g_object_new_with_properties)
gpointer g_object_newv (GType object_type,
guint n_parameters,
GParameter *parameters);