[9533] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

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

daemon@ATHENA.MIT.EDU (James Bailie)
Fri Oct 23 02:02:13 1998

From: James Bailie <jbailie@wwdc.com>
To: gtk-list@redhat.com
In-Reply-To: Your message of "Fri, 23 Oct 1998 07:10:01 +0200."
             <199810230510.HAA24090%timj@gtk.org> 
Date: Fri, 23 Oct 1998 01:53:18 -0400
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

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

-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post