Expand the documentation of g_type_get_qdata()
authorMatthias Clasen <mclasen@redhat.com>
Sat, 19 Feb 2011 03:35:49 +0000 (22:35 -0500)
committerMatthias 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

index dac5e8f..9439939 100644 (file)
@@ -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