After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 522061 - Gtk.AboutDialog.set_(uri|email)_hook() bindings are invalid
Gtk.AboutDialog.set_(uri|email)_hook() bindings are invalid
Product: vala
Classification: Core
Component: Bindings
Other All
: Normal normal
: ---
Assigned To: Jürg Billeter
Vala maintainers
Depends on:
Reported: 2008-03-12 17:23 UTC by Emmanuele Bassi (:ebassi)
Modified: 2008-03-16 22:35 UTC
See Also:
GNOME target: ---
GNOME version: ---

Description Emmanuele Bassi (:ebassi) 2008-03-12 17:23:46 UTC
valac will try to append the instance pointer after the user data and destroy notification function, which produces invalid code.
Comment 1 Jürg Billeter 2008-03-14 18:50:23 UTC
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.
Comment 2 Jürg Billeter 2008-03-16 22:35:40 UTC
2008-03-16  Jürg Billeter  <>

	* 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.