On Jul 23, 2009, at 21:55, Thiago Arrais wrote:

> On Sat, Jul 18, 2009 at 10:10 AM, Thiago  
> Arrais<thiago.arr...@gmail.com> wrote:
>> I've made another patch available that fixes this issue for both
>> versions (and hopefully for earlier ones) by explicitly incrementing
>> the reference count (with objectRef) even when objectRefSink isn't
>> available.
>
> Any updates on this issue. My tests didn't detect any memory leak...

I've just pushed a patch that fixed the issue in a way that is  
consistent with the Gtk literature. Could you check that this patch  
still works for you? (I guess it's no more than one or two lines  
different from what you have in your repro.)

Note that I keep the distinction between makeGObject and  
constructGObject. However, the latter one now always sinkRef's the  
object for Gtk+ > 2.10.

Cheers,
Axel.


------------------------------------------------------------------------------
_______________________________________________
Gtk2hs-devel mailing list
Gtk2hs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel

Reply via email to