Commit 3151da15 authored by Fabián Orccón's avatar Fabián Orccón Committed by Philip Withnall

gio: Deprecate GParameter-related functions

https://bugzilla.gnome.org/show_bug.cgi?id=709865
parent 2646c217
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
......@@ -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,
......
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