How can I refresh sorting rules?



I have a GtkTreeView. I call gtk_tree_sortable_set_default_sort_func()
with some function and then
gtk_tree_sortable_set_sort_column_id(GTK_DEFAULT_SORT_COLUMN_ID).
Sorting works well, but some time later I want to change sorting
function to some other one. But calling ...set_default_sort_func again
doesn't force the model to re-sort its data. How can I force it to do
so?

-- 
struct Sig {
  string name("     J a r e k   D u k a t     ");
  string mail(" madmaxer (at) poczta (dot) fm ");
};


----------------------------------------------------------------------
Aaaaaaaaaaa, fantastyczny sprzet DVD do wygrania!!!
>>> http://link.interia.pl/f15e4 





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