Re: [gtkmm] Bug in CList remove_row?



Michael Babcock <mbabcock@la.creatureshop.henson.com> writes:
> And I remove the selected item like this:
>     int row_number = list_->find_row_from_data((void*)(a->Get_ID()));
>     list_->remove_row(row_number);

I think it *might* be gtk-- problem. remove_row was very recently changed in
gtk-- to call gtk_clist_remove() instead of gtk_signal_emit("remove",...);
and in newest gtk+'s that makes a difference.

(use of gtk_signal_emit() is known to be problematic...)

If taking gtk-- from cvs does not help, then it might be gtk+'s problem :)
(newest gtk-- from cvs requires also newest gtk+ from cvs)

-- 
-- Tero Pulkkinen -- terop@modeemi.cs.tut.fi --



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