On Thu, Jul 16, 2009 at 12:20 PM, Axel Simon<axel.si...@ens.fr> wrote: > I would guess that earlier versions who didn't have the floating reference > did have a reference count of one.
I don't know if that's the case. The documentation isn't very clear and my tests both with GLib 2.6.4 and 2.8.6 did not confirm this behaviour. Without the (explicit) reference counting, the accelerator group keeps getting finalized and the keyboard shortcuts cease working. 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. Cheers, Thiago Arrais ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Gtk2hs-devel mailing list Gtk2hs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel