gobject: Fix Since/Deprecated versions for GParameter replacement API

This slipped through the review cracks.

https://bugzilla.gnome.org/show_bug.cgi?id=709865
This commit is contained in:
Philip Withnall 2017-03-31 11:09:53 +01:00
parent c11908ab7d
commit 2f2c2b6362
7 changed files with 13 additions and 13 deletions

View File

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

View File

@ -95,7 +95,7 @@ void g_async_initable_new_async (GType object_type,
gpointer user_data,
const gchar *first_property_name,
...);
GLIB_DEPRECATED_IN_2_52_FOR(g_object_new_with_properties and g_async_initable_init_async)
GLIB_DEPRECATED_IN_2_54_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,7 +184,7 @@ g_initable_new (GType object_type,
* #GObject, or %NULL on error
*
* Since: 2.22
* Deprecated: 2.52: Use g_object_new_with_properties() and
* Deprecated: 2.54: Use g_object_new_with_properties() and
* g_initable_init() instead. See #GParameter for more information.
*/
gpointer

View File

@ -81,7 +81,7 @@ gpointer g_initable_new (GType object_type,
const gchar *first_property_name,
...);
GLIB_DEPRECATED_IN_2_52_FOR(g_object_new_with_properties and g_initable_init)
GLIB_DEPRECATED_IN_2_54_FOR(g_object_new_with_properties and g_initable_init)
gpointer g_initable_newv (GType object_type,
guint n_parameters,
GParameter *parameters,

View File

@ -1899,7 +1899,7 @@ g_object_new_is_valid_property (GType object_type,
* Returns: (type GObject.Object) (transfer full): a new instance of
* @object_type
*
* Since: 2.52
* Since: 2.54
*/
GObject *
g_object_new_with_properties (GType object_type,
@ -1970,7 +1970,7 @@ g_object_new_with_properties (GType object_type,
* Returns: (type GObject.Object) (transfer full): a new instance of
* @object_type
*
* Deprecated: 2.52: Use g_object_new_with_properties() instead.
* Deprecated: 2.54: Use g_object_new_with_properties() instead.
* deprecated. See #GParameter for more information.
*/
gpointer
@ -2199,7 +2199,7 @@ g_object_set_is_valid_property (GObject *object,
* valid. Warnings will be emitted and undefined behaviour may result if invalid
* properties are passed in.
*
* Since: 2.52
* Since: 2.54
*/
void
g_object_setv (GObject *object,
@ -2325,7 +2325,7 @@ g_object_get_is_valid_property (GObject *object,
* Warnings will be emitted and undefined behaviour may result if invalid
* properties are passed in.
*
* Since: 2.52
* Since: 2.54
*/
void
g_object_getv (GObject *object,

View File

@ -420,12 +420,12 @@ GLIB_AVAILABLE_IN_ALL
gpointer g_object_new (GType object_type,
const gchar *first_property_name,
...);
GLIB_AVAILABLE_IN_2_52
GLIB_AVAILABLE_IN_2_54
GObject* g_object_new_with_properties (GType object_type,
guint n_properties,
const char *names[],
const GValue values[]);
GLIB_DEPRECATED_IN_2_52_FOR(g_object_new_with_properties)
GLIB_DEPRECATED_IN_2_54_FOR(g_object_new_with_properties)
gpointer g_object_newv (GType object_type,
guint n_parameters,
GParameter *parameters);
@ -449,7 +449,7 @@ GLIB_AVAILABLE_IN_ALL
void g_object_disconnect (gpointer object,
const gchar *signal_spec,
...) G_GNUC_NULL_TERMINATED;
GLIB_AVAILABLE_IN_2_52
GLIB_AVAILABLE_IN_2_54
void g_object_setv (GObject *object,
guint n_properties,
const gchar *names[],
@ -458,7 +458,7 @@ GLIB_AVAILABLE_IN_ALL
void g_object_set_valist (GObject *object,
const gchar *first_property_name,
va_list var_args);
GLIB_AVAILABLE_IN_2_52
GLIB_AVAILABLE_IN_2_54
void g_object_getv (GObject *object,
guint n_properties,
const gchar *names[],

View File

@ -268,7 +268,7 @@ struct _GParamSpecClass
* The GParameter struct is an auxiliary structure used
* to hand parameter name/value pairs to g_object_newv().
*
* Deprecated: 2.52: This type is not introspectable.
* Deprecated: 2.54: This type is not introspectable.
*/
struct _GParameter /* auxiliary structure for _setv() variants */
{