GNOME Bugzilla – Bug 522061
Gtk.AboutDialog.set_(uri|email)_hook() bindings are invalid
Last modified: 2008-03-16 22:35:40 UTC
valac will try to append the instance pointer after the user data and destroy notification function, which produces invalid code.
Confirming, we need at least to remove the data parameter and avoid the implicit user_data out parameter for the return value. Ideally we should also support passing the destroy notification function implicitly.
2008-03-16 Jürg Billeter <j@bitron.ch> * vapigen/valagidlparser.vala: support modifying return type with metadata attributes * vapi/packages/gtk+-2.0/: fix gtk_about_dialog_set_*_hook bindings, fixes bug 522061 * vapi/gtk+-2.0.vapi: regenerated Fixed in r1133.