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 645215 - [PATCH] Incorrect Gdk.Atom name() bindings
[PATCH] Incorrect Gdk.Atom name() bindings
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: Bindings: GTK+ GStreamer WebKitGTK+
0.11.x
Other Linux
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2011-03-19 10:53 UTC by Oliver Sauder
Modified: 2011-03-19 12:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Adjusting Gdk.Atom bindings (2.55 KB, patch)
2011-03-19 10:53 UTC, Oliver Sauder
none Details | Review

Description Oliver Sauder 2011-03-19 10:53:10 UTC
Comment of gdk_atom_name states the following:
Returns: a newly-allocated string containing the string corresponding to atom. When you are done with the return value, you should free it using g_free().

but the bindings is defined as public unowned string name ();

Fixed this issue with the attached patch.
Comment 1 Oliver Sauder 2011-03-19 10:53:46 UTC
Created attachment 183780 [details] [review]
Adjusting Gdk.Atom bindings
Comment 2 Michal Hruby 2011-03-19 12:13:25 UTC
Thanks for the patch, pushed.