[9530] 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 (Tim Janik)
Fri Oct 23 01:17:52 1998

From: Tim Janik <timj@gtk.org>
Date: Fri, 23 Oct 1998 07:10:01 +0200 (CEST)
To: gtk-list@redhat.com
In-Reply-To: <199810221752.NAA00647@lon-p2.wwdc.com>
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

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

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


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