summaryrefslogtreecommitdiff
path: root/gobject/gvaluearray.c
diff options
context:
space:
mode:
authorPhilip Withnall <withnall@endlessm.com>2019-03-07 17:39:21 +0000
committerPhilip Withnall <withnall@endlessm.com>2019-03-15 11:09:36 +0000
commitba09fa8500e998b700b874ed10468059c34b9916 (patch)
tree994dd562431f66adc8e8d5e6929a944a53dab49a /gobject/gvaluearray.c
parent76b32508d2e11de90a28a863eb6bffc1401f2dd6 (diff)
downloadglib-ba09fa8500e998b700b874ed10468059c34b9916.tar.gz
gvaluearray: Mark the whole of GValueArray as deprecated
This is not new; all of its methods have been deprecated for a long time. Make the deprecation more obvious, however, by marking the whole section as deprecated. Note that GArray can’t *quite* do everything that GValueArray could. See #1069 for work to fix this. This documentation block can be updated again once that’s fixed. Signed-off-by: Philip Withnall <withnall@endlessm.com>
Diffstat (limited to 'gobject/gvaluearray.c')
-rw-r--r--gobject/gvaluearray.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gobject/gvaluearray.c b/gobject/gvaluearray.c
index 553152d5a..83e03f7ec 100644
--- a/gobject/gvaluearray.c
+++ b/gobject/gvaluearray.c
@@ -55,6 +55,9 @@
* GArray *array = g_array_sized_new (FALSE, TRUE, sizeof (GValue), 10);
* g_array_set_clear_func (array, (GDestroyNotify) g_value_unset);
* ]|
+ *
+ * Deprecated: 2.32: Use #GArray instead, if possible for the given use case,
+ * as described above.
*/
#define GROUP_N_VALUES (8) /* power of 2 !! */