Re: [evolution-patches] Bonobo Ref Counting Patches
- From: Rodrigo Moya <rodrigo ximian com>
- To: JP Rosevear <jpr ximian com>
- Cc: Dan Winship <danw ximian com>, Evolution Patches <evolution-patches ximian com>
- Subject: Re: [evolution-patches] Bonobo Ref Counting Patches
- Date: 13 May 2003 20:09:19 +0200
On Tue, 2003-05-13 at 19:13, JP Rosevear wrote:
> > > - g_signal_connect (cal_table->invisible, "destroy",
> > > - G_CALLBACK (invisible_destroyed),
> > > cal_table);
> > > + g_signal_connect_after (cal_table->invisible, "destroy",
> > > + G_CALLBACK (invisible_destroyed),
> > > cal_table);
> >
> > Do these still do anything or are they just remnants of earlier attempts
> > to fix? (Why does it matter if you NULL the variables before or after
> > the object is completely destroyed?)
>
> I'm not sure - I'm not too clear on how the old invisible clipboard
> stuff worked, perhaps using weak pointer refs is a cleaner idea.
>
iirc, the "destroy" callback is only used to NULL out the
priv->invisible field. If so, and since it seems the invisible widget is
destroyed in the finalize handler, it could be NULLed out there, right
after being destroyed. Or am I missing something?
cheers
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]