Re: weakref semantics

2008-01-17 Thread Tim Janik
On Thu, 17 Jan 2008, Yevgen Muntyan wrote: > Alexander Larsson wrote: >> On Thu, 2008-01-17 at 07:50 -0600, Yevgen Muntyan wrote: >>> A GWeakNotify function can be added >>> to an object as a >>> callback that gets triggered when the object is finalized. >>> Since the object is already being fi

Re: weakref semantics

2008-01-17 Thread Yevgen Muntyan
Alexander Larsson wrote: > On Thu, 2008-01-17 at 07:50 -0600, Yevgen Muntyan wrote: > >> Tim Janik wrote: >> >>> On Thu, 17 Jan 2008, Alexander Larsson wrote: >>> >>> >>> On Wed, 2008-01-16 at 15:03 +, [EMAIL PROTECTED] wrote: > I noticed the w

Re: weakref semantics

2008-01-17 Thread jcupitt
On Jan 17, 2008 12:34 PM, Tim Janik <[EMAIL PROTECTED]> wrote: > On Thu, 17 Jan 2008, Alexander Larsson wrote: > > On Wed, 2008-01-16 at 15:03 +, [EMAIL PROTECTED] wrote: > >> I noticed the weakref introduction says that notifies can be called many > >> times: > >> > >> http://library.gnome.or

Re: weakref semantics

2008-01-17 Thread Alexander Larsson
On Thu, 2008-01-17 at 07:50 -0600, Yevgen Muntyan wrote: > Tim Janik wrote: > > On Thu, 17 Jan 2008, Alexander Larsson wrote: > > > > > >> On Wed, 2008-01-16 at 15:03 +, [EMAIL PROTECTED] wrote: > >> > >>> I noticed the weakref introduction says that notifies can be called many > >>>

Re: weakref semantics

2008-01-17 Thread Yevgen Muntyan
Tim Janik wrote: > On Thu, 17 Jan 2008, Alexander Larsson wrote: > > >> On Wed, 2008-01-16 at 15:03 +, [EMAIL PROTECTED] wrote: >> >>> I noticed the weakref introduction says that notifies can be called many >>> times: >>> >>> http://library.gnome.org/devel/gobject/unstable/gobject-mem

Re: weakref semantics

2008-01-17 Thread Tim Janik
On Thu, 17 Jan 2008, Alexander Larsson wrote: > > On Wed, 2008-01-16 at 15:03 +, [EMAIL PROTECTED] wrote: >> I noticed the weakref introduction says that notifies can be called many >> times: >> >> http://library.gnome.org/devel/gobject/unstable/gobject-memory.html#gobject-memory-weakref >> >

Re: weakref semantics

2008-01-17 Thread Alexander Larsson
On Wed, 2008-01-16 at 15:03 +, [EMAIL PROTECTED] wrote: > I noticed the weakref introduction says that notifies can be called many > times: > > http://library.gnome.org/devel/gobject/unstable/gobject-memory.html#gobject-memory-weakref > >... which is invoked when the object runs its dis