bug with gtk_tree_item_remove_subtree



Hi,

I try to remove a subtree with the gtk_tree_item_remove_subtree() function.
It works fine when I don't select any child before removing the subtree.
The problem occurs when an item is selected in the subtree I want to remove.
In this case, the gtk remove function crashs.
It's a GTK_SELECTION_SINGLE tree so I try to gtk_tree_item_deselect the
selected item but it also crash.
Have you an idea of how to manage this without crash?

Vianney Lecroart
---
lead network programmer / nevrax.com
icq#: 6870415
homepage: http://ace.planet-d.net
www.geekcode.com: GCS/E d- s+++: a-- C+++$ UL++ P- L+++>+$ E+>- W++ N+ o? K-
w++$ O- M- V- PS- PE? Y PGP t 5? X+ R- tv++ b- DI D+ G e++ h+ r-- y?






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