Re: [Bug 111028] Dealing with reference cycles in GObject



On Thu, Apr 24, 2003 at 04:20:01PM +0100, J. Ali Harlow wrote: 
> 3. Change gdk_drawable_get_image() to always return a copy of the
>    image. This is much easier but would reduce efficiency.

Maybe this is right; otherwise the win32 port has different semantics
from the X port. Maybe it could return a "shallow copy" of the image
but it seems like it needs to return a copy...

However, I'm not sure I understand the refcount cycle that you're
seeing (i.e. what are all the links in the cycle?)

Havoc



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