Chris Quinn <[EMAIL PROTECTED]> writes:
> Havoc Pennington wrote:
> >
> > The problem is simply a misfeature, which is that if you append
> > handlers to the list of handlers during the emission, they will be
> > invoked (since the emission is still in progress, and will be until
> > the list of handlers is exhausted).
> > 
> [snip]
> > You could use gtk_signal_handler_block() perhaps.
> 
> Thanks for the suggestion. Unfortunately it isn't the signal just
> emitted that needs blocking but the next, which doesn't exist until
> a callback is attached by which time it is too late!

BTW, you aren't blocking the signal with gtk_signal_handler_block(),
you're blocking the specific callback. Don't know if this matters.

Havoc


_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to