From 2a1eed20b40c2ad4211ed0adb0d17983e5dcaec6 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 18 Feb 2011 22:35:49 -0500 Subject: [PATCH] Expand the documentation of g_type_get_qdata() https://bugzilla.gnome.org/show_bug.cgi?id=613269 --- gobject/gtype.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gobject/gtype.c b/gobject/gtype.c index dac5e8f..9439939 100644 --- a/gobject/gtype.c +++ b/gobject/gtype.c @@ -3652,6 +3652,10 @@ type_get_qdata_L (TypeNode *node, * Obtains data which has previously been attached to @type * with g_type_set_qdata(). * + * Note that this does not take subtyping into account; data + * attached to one type with g_type_set_qdata() cannot + * be retrieved from a subtype using g_type_get_qdata(). + * * Returns: (transfer none): the data, or %NULL if no data was found */ gpointer -- 2.7.4