mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 19:06:15 +01:00
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:
parent
c11908ab7d
commit
2f2c2b6362
@ -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
|
||||
|
@ -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,
|
||||
|
@ -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
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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[],
|
||||
|
@ -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 */
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user