GNOME Bugzilla – Bug 681896
Can't compile code with GLib.ActionEntry
Last modified: 2014-06-12 03:54:24 UTC
Created attachment 221236 [details] [review] Patch to fix binding Seems like there's a problem with the GLib.ActionEntry in GIO's bindings. Vala is trying to free the callbacks. Changing it by basing from Gtk.ActionEntry, the problem is fixed by adding [CCode (delegate_target = false)] in its callbacks.
Created attachment 221238 [details] Test File Sample application using GLib.ActionEntry compile with "--pkg gtk+-3.0 --pkg gio-2.0"
Created attachment 236522 [details] [review] Updated patch for metadata
commit dc9b711a9ecddbb4e68bb5ec1519eacc6da3f84a Author: Evan Nemerson <evan@nemerson.com> Date: Wed Jun 11 20:52:49 2014 -0700 gio-2.0: callbacks in ActionEntry must not have a target Fixes bug 681896.