Re: [gtk-list] Re: How can I syncronize two entries?



On Thu, 22 Oct 1998, James Bailie wrote:

> Scott Stone writes:
> 
> >sure, how about using gtk_signal_disconnect?
> 
> Better: gtk_signal_emit_stop_by_name( widget, "changed" );

nope, gtk_signal_handler_block_by_func() would be appropriate to
avoid a deadlock, gtk_signal_emit_stop_by_name() has nothing to do
with this and could even have othe unwanted side effects, because
other pending signal handlers would be prevented from being invoked,
which is usually not the desired effect in a case similar to the one
mentioned.

> 
> --
> James Bailie
> 

---
ciaoTJ



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