Re: [gtkmm] Bug in CList remove_row?



Tero Pulkkinen wrote:
> 
> 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 --

I'm using 0.10.2 with a couple patches from you, and it _does_ have
gtk_clist_remove() in the remove_row implementation. So I guess it's not
a Gtk-- problem?

--
Michael Babcock
Jim Henson's Creature Shop - Los Angeles
mbabcock@la.creatureshop.henson.com



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