On Sun, 2003-01-26 at 13:24, Emmanuel Di Pretoro wrote:
> > My list is sorted by name of authors, so, must I clear my
> > GtkListStore, and recreate it ? 
> 
> OK, hereby the found solution :
> 
> When I've updated my database, I call 'gtk_tree_view_set_model' with as
> args my GtkTreeView and a function creating a new model. 
> 
> It works, but I don't know if it's really 'clean'. How can I free the
> old model ?

Tree models are reference counted.

-- 
Murray Cumming
[EMAIL PROTECTED]
www.murrayc.com

_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to