gio: Deprecate GParameter-related functions

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

View File

@ -366,6 +366,8 @@ g_async_initable_new_async (GType object_type,
* for any errors.
*
* Since: 2.22
* Deprecated: 2.52: Use g_object_new_with_properties() and
* g_async_initable_init_async() instead. See #GParameter for more information.
*/
void
g_async_initable_newv_async (GType object_type,

View File

@ -95,7 +95,7 @@ void g_async_initable_new_async (GType object_type,
gpointer user_data,
const gchar *first_property_name,
...);
GLIB_AVAILABLE_IN_ALL
GLIB_DEPRECATED_IN_2_52_FOR(g_object_new_with_properties and g_async_initable_init_async)
void g_async_initable_newv_async (GType object_type,
guint n_parameters,
GParameter *parameters,

View File

@ -184,6 +184,8 @@ g_initable_new (GType object_type,
* #GObject, or %NULL on error
*
* Since: 2.22
* Deprecated: 2.52: Use g_object_new_with_properties() and
* g_initable_init() instead. See #GParameter for more information.
*/
gpointer
g_initable_newv (GType object_type,

View File

@ -80,7 +80,8 @@ gpointer g_initable_new (GType object_type,
GError **error,
const gchar *first_property_name,
...);
GLIB_AVAILABLE_IN_ALL
GLIB_DEPRECATED_IN_2_52_FOR(g_object_new_with_properties and g_initable_init)
gpointer g_initable_newv (GType object_type,
guint n_parameters,
GParameter *parameters,