[newbie]GtkTreeIter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Calzature moda sport. Da Oliviero.it le ultime novità autunno-inverno 2004/2005: Nike, Puma, Adidas....
* 
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2846&d=3-2
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux