summaryrefslogtreecommitdiff
path: root/gir/gobject-2.0.c
diff options
context:
space:
mode:
Diffstat (limited to 'gir/gobject-2.0.c')
-rw-r--r--gir/gobject-2.0.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gir/gobject-2.0.c b/gir/gobject-2.0.c
index e9450fc8..1c7f8cfc 100644
--- a/gir/gobject-2.0.c
+++ b/gir/gobject-2.0.c
@@ -444,7 +444,7 @@
*
* Type instance and class structs are limited to a total of 64 KiB,
* including all parent types. Similarly, type instances' private data
- * (as created by g_type_class_add_private()) are limited to a total of
+ * (as created by G_ADD_PRIVATE()) are limited to a total of
* 64 KiB. If a type instance needs a large static buffer, allocate it
* separately (typically by using #GArray or #GPtrArray) and put a pointer
* to the buffer in the structure.
@@ -5267,6 +5267,8 @@
* ]|
*
* Since: 2.4
+ * Deprecated: 2.58: Use the G_ADD_PRIVATE() macro with the `G_DEFINE_*`
+ * family of macros to add instance private data to a type
*/