summaryrefslogtreecommitdiff
path: root/gtk/gtktreestore.c
diff options
context:
space:
mode:
authorMatthias Clasen <maclas@gmx.de>2003-06-04 23:53:35 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2003-06-04 23:53:35 +0000
commitf114b14ac330458b7e4a8c35b1b28e50765a498f (patch)
treeb24579417532991e8ef7dde83e90765901d24f2f /gtk/gtktreestore.c
parentf9a478644e7215be2110d7b120938c47be9248d0 (diff)
downloadgtk+-f114b14ac330458b7e4a8c35b1b28e50765a498f.tar.gz
Document restriction on types.
2003-06-05 Matthias Clasen <maclas@gmx.de> * gtk/gtktreestore.c (gtk_tree_store_new): * gtk/gtkliststore.c (gtk_list_store_new): Document restriction on types.
Diffstat (limited to 'gtk/gtktreestore.c')
-rw-r--r--gtk/gtktreestore.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk/gtktreestore.c b/gtk/gtktreestore.c
index e39ae4da47..2f7b5963c2 100644
--- a/gtk/gtktreestore.c
+++ b/gtk/gtktreestore.c
@@ -278,7 +278,10 @@ gtk_tree_store_init (GtkTreeStore *tree_store)
* @Varargs: all #GType types for the columns, from first to last
*
* Creates a new tree store as with @n_columns columns each of the types passed
- * in. As an example, <literal>gtk_tree_store_new (3, G_TYPE_INT, G_TYPE_STRING,
+ * in. Note that only types derived from standard GObject fundamental types
+ * are supported.
+ *
+ * As an example, <literal>gtk_tree_store_new (3, G_TYPE_INT, G_TYPE_STRING,
* GDK_TYPE_PIXBUF);</literal> will create a new #GtkTreeStore with three columns, of type
* <type>int</type>, <type>string</type> and #GdkPixbuf respectively.
*