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



Tim Janik writes:

>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.

This is useful to learn, as I have used gtk_signal_emit_stop for this
purpose in the past with no problems. What is the purpose of the emit_stop
functions?

--
James Bailie

http://www.wwdc.com/~jbailie



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