mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-13 04:34:04 +02:00
Add G_GNUC_DEPRECATED to deprecated functions in gobject
This commit is contained in:
@@ -80,7 +80,7 @@ void g_value_take_boxed (GValue *value,
|
|||||||
gconstpointer v_boxed);
|
gconstpointer v_boxed);
|
||||||
#ifndef G_DISABLE_DEPRECATED
|
#ifndef G_DISABLE_DEPRECATED
|
||||||
void g_value_set_boxed_take_ownership (GValue *value,
|
void g_value_set_boxed_take_ownership (GValue *value,
|
||||||
gconstpointer v_boxed);
|
gconstpointer v_boxed) G_GNUC_DEPRECATED_FOR(g_value_take_boxed);
|
||||||
#endif
|
#endif
|
||||||
gpointer g_value_get_boxed (const GValue *value);
|
gpointer g_value_get_boxed (const GValue *value);
|
||||||
gpointer g_value_dup_boxed (const GValue *value);
|
gpointer g_value_dup_boxed (const GValue *value);
|
||||||
|
@@ -528,7 +528,7 @@ void g_value_take_object (GValue *value,
|
|||||||
gpointer v_object);
|
gpointer v_object);
|
||||||
#ifndef G_DISABLE_DEPRECATED
|
#ifndef G_DISABLE_DEPRECATED
|
||||||
void g_value_set_object_take_ownership (GValue *value,
|
void g_value_set_object_take_ownership (GValue *value,
|
||||||
gpointer v_object);
|
gpointer v_object) G_GNUC_DEPRECATED_FOR(g_value_take_object);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(G_DISABLE_DEPRECATED) || defined(GTK_COMPILATION)
|
#if !defined(G_DISABLE_DEPRECATED) || defined(GTK_COMPILATION)
|
||||||
|
@@ -314,7 +314,7 @@ void g_value_take_param (GValue *value,
|
|||||||
GParamSpec *param);
|
GParamSpec *param);
|
||||||
#ifndef G_DISABLE_DEPRECATED
|
#ifndef G_DISABLE_DEPRECATED
|
||||||
void g_value_set_param_take_ownership (GValue *value,
|
void g_value_set_param_take_ownership (GValue *value,
|
||||||
GParamSpec *param);
|
GParamSpec *param) G_GNUC_DEPRECATED_FOR(g_value_take_param);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* --- convenience functions --- */
|
/* --- convenience functions --- */
|
||||||
|
@@ -179,8 +179,8 @@ G_BEGIN_DECLS
|
|||||||
/* --- prototypes --- */
|
/* --- prototypes --- */
|
||||||
#ifndef G_DISABLE_DEPRECATED
|
#ifndef G_DISABLE_DEPRECATED
|
||||||
void g_value_set_char (GValue *value,
|
void g_value_set_char (GValue *value,
|
||||||
gchar v_char);
|
gchar v_char) G_GNUC_DEPRECATED;
|
||||||
gchar g_value_get_char (const GValue *value);
|
gchar g_value_get_char (const GValue *value) G_GNUC_DEPRECATED;
|
||||||
#endif
|
#endif
|
||||||
void g_value_set_schar (GValue *value,
|
void g_value_set_schar (GValue *value,
|
||||||
gint8 v_char);
|
gint8 v_char);
|
||||||
@@ -247,7 +247,7 @@ void g_value_take_string (GValue *value,
|
|||||||
gchar *v_string);
|
gchar *v_string);
|
||||||
#ifndef G_DISABLE_DEPRECATED
|
#ifndef G_DISABLE_DEPRECATED
|
||||||
void g_value_set_string_take_ownership (GValue *value,
|
void g_value_set_string_take_ownership (GValue *value,
|
||||||
gchar *v_string);
|
gchar *v_string) G_GNUC_DEPRECATED_FOR(g_value_take_string);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user