mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-27 17:52:58 +02:00
Add G_GNUC_DEPRECATED to deprecated functions in gobject
This commit is contained in:
@@ -178,9 +178,9 @@ G_BEGIN_DECLS
|
||||
|
||||
/* --- prototypes --- */
|
||||
#ifndef G_DISABLE_DEPRECATED
|
||||
void g_value_set_char (GValue *value,
|
||||
gchar v_char);
|
||||
gchar g_value_get_char (const GValue *value);
|
||||
void g_value_set_char (GValue *value,
|
||||
gchar v_char) G_GNUC_DEPRECATED;
|
||||
gchar g_value_get_char (const GValue *value) G_GNUC_DEPRECATED;
|
||||
#endif
|
||||
void g_value_set_schar (GValue *value,
|
||||
gint8 v_char);
|
||||
@@ -246,8 +246,8 @@ gchar* g_strdup_value_contents (const GValue *value);
|
||||
void g_value_take_string (GValue *value,
|
||||
gchar *v_string);
|
||||
#ifndef G_DISABLE_DEPRECATED
|
||||
void g_value_set_string_take_ownership (GValue *value,
|
||||
gchar *v_string);
|
||||
void g_value_set_string_take_ownership (GValue *value,
|
||||
gchar *v_string) G_GNUC_DEPRECATED_FOR(g_value_take_string);
|
||||
#endif
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user