problem with "Gtk_list_remove_items"



Hello!

I have a little problem,

I would like to destroy the first item to a Gtk_list

So first I use the function:

gtk_list_clear_items(GTK_LIST(mylist), 0, 1);

But when the first item is selected my application
crash!

Why???

Then I use the function:

gtk_list_removes_items(GTK_LIST(mylist), first_line);

Could You explain to me, how I can have a pointer on
the first element of my GtkList?

Thanks!

=====
oO0 A + Ju 0Oo

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



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