mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-23 17:38:54 +02:00
Annotate various types and macros as deprecated
These have all been documented as deprecated for a long time, but we’ve
never had a way to programmatically mark them as deprecated. Do that
now.
This is based on the list of deprecations from the reverted commit
80fcb1bc2
.
Signed-off-by: Philip Withnall <withnall@endlessm.com>
Fixes: #638
This commit is contained in:
@@ -2017,6 +2017,7 @@ g_object_new_with_properties (GType object_type,
|
||||
* Deprecated: 2.54: Use g_object_new_with_properties() instead.
|
||||
* deprecated. See #GParameter for more information.
|
||||
*/
|
||||
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
|
||||
gpointer
|
||||
g_object_newv (GType object_type,
|
||||
guint n_parameters,
|
||||
@@ -2068,6 +2069,7 @@ g_object_newv (GType object_type,
|
||||
|
||||
return object;
|
||||
}
|
||||
G_GNUC_END_IGNORE_DEPRECATIONS
|
||||
|
||||
/**
|
||||
* g_object_new_valist: (skip)
|
||||
|
Reference in New Issue
Block a user