projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb4d6fd
)
Expand the documentation of g_type_get_qdata()
author
Matthias Clasen
<mclasen@redhat.com>
Sat, 19 Feb 2011 03:35:49 +0000
(22:35 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 19 Feb 2011 03:35:49 +0000
(22:35 -0500)
https://bugzilla.gnome.org/show_bug.cgi?id=613269
gobject/gtype.c
patch
|
blob
|
history
diff --git
a/gobject/gtype.c
b/gobject/gtype.c
index
dac5e8f
..
9439939
100644
(file)
--- 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