On Jul 23, 2009, at 23:05, Thiago Arrais wrote:

> On Thu, Jul 23, 2009 at 5:14 PM, Axel Simon<axel.si...@ens.fr> wrote:
>> 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.)
>
> Yup, if there were no comments, this would be identical to the first
> patch in my repo. It fixes the issue for GLib >= 2.10, but the problem
> still occurs with previous GLib versions. The second patch (the one
> dated from Jul 18), adds an objectRef call for GLib < 2.10 and that
> fixes it.

Ok, then I have to dig more around old documentation to make sense of  
it. It's very odd if objects are created with a reference count of  
zero. Maybe there was a different floating reference before 2.10 (or  
refSink was present before 2.10). Which GLib version did you check?

Thanks for the patience,
Axel.

> I've sync'ed this last patch with the current trunk and it's at my
> repo. Feel free to pull.
>
> Cheers,
>
> Thiago Arrais


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

Reply via email to