summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gobject/gboxed.h2
-rw-r--r--gobject/gobject.h2
-rw-r--r--gobject/gparam.h2
-rw-r--r--gobject/gvaluetypes.h10
4 files changed, 8 insertions, 8 deletions
diff --git a/gobject/gboxed.h b/gobject/gboxed.h
index 35375f182..0fff0e816 100644
--- a/gobject/gboxed.h
+++ b/gobject/gboxed.h
@@ -80,7 +80,7 @@ void g_value_take_boxed (GValue *value,
gconstpointer v_boxed);
#ifndef G_DISABLE_DEPRECATED
void g_value_set_boxed_take_ownership (GValue *value,
- gconstpointer v_boxed);
+ gconstpointer v_boxed) G_GNUC_DEPRECATED_FOR(g_value_take_boxed);
#endif
gpointer g_value_get_boxed (const GValue *value);
gpointer g_value_dup_boxed (const GValue *value);
diff --git a/gobject/gobject.h b/gobject/gobject.h
index bb62c22b8..fec308993 100644
--- a/gobject/gobject.h
+++ b/gobject/gobject.h
@@ -528,7 +528,7 @@ void g_value_take_object (GValue *value,
gpointer v_object);
#ifndef G_DISABLE_DEPRECATED
void g_value_set_object_take_ownership (GValue *value,
- gpointer v_object);
+ gpointer v_object) G_GNUC_DEPRECATED_FOR(g_value_take_object);
#endif
#if !defined(G_DISABLE_DEPRECATED) || defined(GTK_COMPILATION)
diff --git a/gobject/gparam.h b/gobject/gparam.h
index c9a991be7..2561677e0 100644
--- a/gobject/gparam.h
+++ b/gobject/gparam.h
@@ -314,7 +314,7 @@ void g_value_take_param (GValue *value,
GParamSpec *param);
#ifndef G_DISABLE_DEPRECATED
void g_value_set_param_take_ownership (GValue *value,
- GParamSpec *param);
+ GParamSpec *param) G_GNUC_DEPRECATED_FOR(g_value_take_param);
#endif
/* --- convenience functions --- */
diff --git a/gobject/gvaluetypes.h b/gobject/gvaluetypes.h
index a7c241494..bb2988207 100644
--- a/gobject/gvaluetypes.h
+++ b/gobject/gvaluetypes.h
@@ -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