Re: Re: [PATCHES] Fullscreen toolbar button / SMB hide arrows

Ricardo Fernández Pascual <[email protected]>
Newsgroups gmane.comp.web.galeon.devel
Message-ID <[email protected]>
El mié, 25 de 06 de 2003 a las 22:02, Tommi Komulainen escribió:
> On Wed, 2003-06-25 at 21:59, Ricardo Fernández Pascual wrote:
> > > > 
> > > > I'm not sure that relying in the order that signals handler get called
> > > > is a good idea. Are we sure that gtk+ guarantees that signals connected
> > > > later get called earlier always?
> > > 
> > > In fact GTK does guarantee that signals are called in the order
> > > connected, see :
> > > 
> > > http://developer.gnome.org/doc/API/2.0/gtk/gtk-Signals.html#gtk-signal-connect
> > > 
> > 
> > I thought you were connecting them in the opposite order... 
> > 
> > Anyway, I don't like it very much (it looks easy to get wrong). I would
> > prefer that you added a method to the parent class to connect (or
> > better, disconnect) the default signal handler and that the subclass
> > called that method if it wanted to override the behavior.
> 
> Well.. I already committed that one..  But what if you just used
> g_signal_connect_after in the parent class?  That ought to guarantee
> correct ordering of signals.

Ok, if it is already committed no problem. We'll fix it when/if it
breaks.

-- 
Ricardo Fernández Pascual
[email protected]
Murcia. España.




-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.