Re: [gtk-list] Re: [patch] resize queuing (minor change from timj-970919)




Tim Janik <Tim.Janik@Hamburg.Netsurf.DE> writes:

> > It seems to fix the problems OK, though I'm not sure why it's
> > necessary to go through the bother of removing things from the idle
> > queues. Would there be any problem in just letting the idle handler
> > take care of the final destruction when it got control? (Not
> > suggesting a change, merely curious?)
> 
> well, at least gubi relies on the gtk_widget_destroy() function to
> immediatly destroy a widget (at least execute it's "destroy" handlers).
> and IMHO this should be done whenever possible.

OK, makes sense. I'm a bit worried that destruction could be
very slow under some circumstances the way things are done
now (potentially O(N^2) worst case), but hopefully that won't
be a problem in practice.

Thanks for doing this work,
                                        Owen



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