Re: [BUG] TreeModel->move_before() eats all cpu time



Thierry Vignaud said:
while porting drakperm (from drakxtools), i saw that
Gtk2::TreeModel->move_after() works smoothly whereas move_before() makes the
Gtk2::TreeModel->program going bad (that is eating all the cpu time ...)

the wrappers for Gtk2::TreeStore->move_(before/after) are simple, identical,
and have no custom code, which for the most part means: provided you are using
them correctly if you're seeing a bug it's at the gtk c level.

-rm

wrappers:

## void gtk_tree_store_move_before (GtkTreeStore *tree_store, GtkTreeIter
*iter, GtkTreeIter *position)
void
gtk_tree_store_move_before (tree_store, iter, position)
        GtkTreeStore *tree_store
        GtkTreeIter *iter
        GtkTreeIter *position

## void gtk_tree_store_move_after (GtkTreeStore *tree_store, GtkTreeIter
*iter, GtkTreeIter *position)
void
gtk_tree_store_move_after (tree_store, iter, position)
        GtkTreeStore *tree_store
        GtkTreeIter *iter
        GtkTreeIter *position







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