Re: BonoboUnknown & G_SIGNAL_TYPE_STATIC_SCOPE



Hi Jens,

On Tue, 2002-01-01 at 15:32, Jens Finke wrote:
> The problem seems to be the definition of BONOBO_TYPE_UNKOWN in
> libbonobo/bonobo/bonobo-types.h which is the return value for the signal
> callback. It sets the G_SIGNAL_TYPE_STATIC_SCOPE flag:
> 
>   #define BONOBO_TYPE_UNKNOWN
>   (bonobo_unknown_get_type () | G_SIGNAL_TYPE_STATIC_SCOPE)
> 
> I absolutely don't know what this flag does and why it's needed but the
> following naive patch fixes the problem (btw: should the struct offset
> really be zero?):

	The patch looks fine in fact; thanks for that. The Static scope flag is
to stop the thing being copied all the time - causing costly remote ref
/ unref behavior.

	Can you commit ?

		Michael.

-- 
 mmeeks gnu org  <><, Pseudo Engineer, itinerant idiot




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