Re: Disable sort when adding row to GTkTreeSrore



Am Freitag, den 26.01.2007, 16:20 +0100 schrieb POULAIN DOMINIQUE (AREVA
TA):
> I’m migrate my aplication from GTK 1.2 to 2.10. So I try to use
> GtkTreeStore and GtkTreeView. The fist task is to show the file system
> hierarchy (and I want to filter this list, but it will be a second
> question). When the user choose to expand one directory, I must add a
> lot of rows. To preserve times, i try to detach the model from the
> tree, and to disable the sort. The result is that it goes faster but i
> got this error message
> 
>  
> 
> Gtk_CRITICAL ** : gtk_tree_store_sort : assertion
> tree_store->default_sort_func != NULL failed
> 
>  
> 
> Gtk_CRITICAL ** : gtk_tree_store_sort_iter_changed : assertion
> tree_store->default_sort_func != NULL failed
> 
>  (...)

This mailing list is inappropriate for application development
questions. Please try gtk-app-devel-list [1]. Thanks.

[1] http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


-- 
Christian Neumair <chris gnome-de org>




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