GNOME Bugzilla – Bug 522059
Callbacks in ActionEntry are not pre-declared if private
Last modified: 2008-03-16 21:21:16 UTC
if I declare an ActionEntry array as: const ActionEntry[] entries = { { "Open", Gtk.STOCK_OPEN, "Open files", (GLib.Callback) on_open, "<control>O" }, ... }; and on_open is: [Callback] void on_open (Gtk.Action action) { ... } the "on_open" callback is correctly translated to namespace_class_on_open, but since it's private it will not be declared before the entries array, thus producing a warning.
Confirming.
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of 501584 ***