Le jeudi 03 fÃvrier 2005 Ã 20:48 +0000, Stefano Esposito a Ãcrit : > Hi all, i'm a newbie, so... excuse me about this boring question :) > > using this code: > > ... > GtkTreeIter *iter; > GtkListStore *list; > ... > list = gtk_list_store_new(3, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, -1); > gtk_list_store_append(list, iter); > ... > > gives me this error: > > (prova:16128): Gtk-CRITICAL **: file gtkliststore.c: line 1321 (gtk_list_store_append): assertion `iter != NULL' failed > > > which makes me think of a kind of inizialization for the iter... I red the api documentation, but I didn't find anything which seems usefull to me... Any hint? You don't have to initialize it, just use: GtkIter iter; ... gtk_list_store_append(list, &iter); Regards, Jean _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list