Re: Programmer's criticism of GTK2



yeah, I've attached slightly changed list_store.c from gtk-demo part of gtk2.
Just replace list_store.c by this file and recompile demo.
Four clicks will remove a row. Look to stderr...
if you change
gtk_list_store_remove (GTK_LIST_STORE (model), d->iter);
by
gtk_list_store_remove (GTK_LIST_STORE (model), &iter);
you'll get another warning :-)

Attachment: list_store.c.gz
Description: GNU Zip compressed data



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