Re: GNOME CVS: libbonobo michael



On Thu, 2001-11-01 at 15:32, Alex Graveley wrote:
> Hi,
> 
> On Thu, 2001-11-01 at 13:49, jacob berkman wrote:
> > On Thu, 2001-11-01 at 13:52, Jeffrey Stedfast wrote:
> > > In that case, wouldn't it be kinda nifty to have bonobo_object_unref be
> > > a macro that unref'd the object and set it to NULL?
> > > 
> > > I don't particularly care either way, but it would be kinda cool...
> > 
> > you lose the ability to use unref as a signal handler.
> 
> Maybe BONOBO_OBJECT_UNREF() to make it more explicit, as well as keep
> the real function around?

why not just UNREF(), which handles BonoboObject, Bonobo_Unknown,
GObject, or just normal data which it g_free()'s?  surely that is more
useful, and can be expanded to handle other types as the platform
progresses.

jacob 
-- 
"Beat mixing is 10000 times more fun than even video games."
	-- bt



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