mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-03 14:42:10 +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.
|
* for any errors.
|
||||||
*
|
*
|
||||||
* Since: 2.22
|
* 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.
|
* g_async_initable_init_async() instead. See #GParameter for more information.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
|
@ -95,7 +95,7 @@ void g_async_initable_new_async (GType object_type,
|
|||||||
gpointer user_data,
|
gpointer user_data,
|
||||||
const gchar *first_property_name,
|
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,
|
void g_async_initable_newv_async (GType object_type,
|
||||||
guint n_parameters,
|
guint n_parameters,
|
||||||
GParameter *parameters,
|
GParameter *parameters,
|
||||||
|
@ -184,7 +184,7 @@ g_initable_new (GType object_type,
|
|||||||
* #GObject, or %NULL on error
|
* #GObject, or %NULL on error
|
||||||
*
|
*
|
||||||
* Since: 2.22
|
* 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.
|
* g_initable_init() instead. See #GParameter for more information.
|
||||||
*/
|
*/
|
||||||
gpointer
|
gpointer
|
||||||
|
@ -81,7 +81,7 @@ gpointer g_initable_new (GType object_type,
|
|||||||
const gchar *first_property_name,
|
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,
|
gpointer g_initable_newv (GType object_type,
|
||||||
guint n_parameters,
|
guint n_parameters,
|
||||||
GParameter *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
|
* Returns: (type GObject.Object) (transfer full): a new instance of
|
||||||
* @object_type
|
* @object_type
|
||||||
*
|
*
|
||||||
* Since: 2.52
|
* Since: 2.54
|
||||||
*/
|
*/
|
||||||
GObject *
|
GObject *
|
||||||
g_object_new_with_properties (GType object_type,
|
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
|
* Returns: (type GObject.Object) (transfer full): a new instance of
|
||||||
* @object_type
|
* @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.
|
* deprecated. See #GParameter for more information.
|
||||||
*/
|
*/
|
||||||
gpointer
|
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
|
* valid. Warnings will be emitted and undefined behaviour may result if invalid
|
||||||
* properties are passed in.
|
* properties are passed in.
|
||||||
*
|
*
|
||||||
* Since: 2.52
|
* Since: 2.54
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
g_object_setv (GObject *object,
|
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
|
* Warnings will be emitted and undefined behaviour may result if invalid
|
||||||
* properties are passed in.
|
* properties are passed in.
|
||||||
*
|
*
|
||||||
* Since: 2.52
|
* Since: 2.54
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
g_object_getv (GObject *object,
|
g_object_getv (GObject *object,
|
||||||
|
@ -420,12 +420,12 @@ GLIB_AVAILABLE_IN_ALL
|
|||||||
gpointer g_object_new (GType object_type,
|
gpointer g_object_new (GType object_type,
|
||||||
const gchar *first_property_name,
|
const gchar *first_property_name,
|
||||||
...);
|
...);
|
||||||
GLIB_AVAILABLE_IN_2_52
|
GLIB_AVAILABLE_IN_2_54
|
||||||
GObject* g_object_new_with_properties (GType object_type,
|
GObject* g_object_new_with_properties (GType object_type,
|
||||||
guint n_properties,
|
guint n_properties,
|
||||||
const char *names[],
|
const char *names[],
|
||||||
const GValue values[]);
|
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,
|
gpointer g_object_newv (GType object_type,
|
||||||
guint n_parameters,
|
guint n_parameters,
|
||||||
GParameter *parameters);
|
GParameter *parameters);
|
||||||
@ -449,7 +449,7 @@ GLIB_AVAILABLE_IN_ALL
|
|||||||
void g_object_disconnect (gpointer object,
|
void g_object_disconnect (gpointer object,
|
||||||
const gchar *signal_spec,
|
const gchar *signal_spec,
|
||||||
...) G_GNUC_NULL_TERMINATED;
|
...) G_GNUC_NULL_TERMINATED;
|
||||||
GLIB_AVAILABLE_IN_2_52
|
GLIB_AVAILABLE_IN_2_54
|
||||||
void g_object_setv (GObject *object,
|
void g_object_setv (GObject *object,
|
||||||
guint n_properties,
|
guint n_properties,
|
||||||
const gchar *names[],
|
const gchar *names[],
|
||||||
@ -458,7 +458,7 @@ GLIB_AVAILABLE_IN_ALL
|
|||||||
void g_object_set_valist (GObject *object,
|
void g_object_set_valist (GObject *object,
|
||||||
const gchar *first_property_name,
|
const gchar *first_property_name,
|
||||||
va_list var_args);
|
va_list var_args);
|
||||||
GLIB_AVAILABLE_IN_2_52
|
GLIB_AVAILABLE_IN_2_54
|
||||||
void g_object_getv (GObject *object,
|
void g_object_getv (GObject *object,
|
||||||
guint n_properties,
|
guint n_properties,
|
||||||
const gchar *names[],
|
const gchar *names[],
|
||||||
|
@ -268,7 +268,7 @@ struct _GParamSpecClass
|
|||||||
* The GParameter struct is an auxiliary structure used
|
* The GParameter struct is an auxiliary structure used
|
||||||
* to hand parameter name/value pairs to g_object_newv().
|
* 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 */
|
struct _GParameter /* auxiliary structure for _setv() variants */
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user