mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
gio: Deprecate GParameter-related functions
https://bugzilla.gnome.org/show_bug.cgi?id=709865
This commit is contained in:
parent
2646c21735
commit
3151da15d7
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user