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 687633 - gtk_color_chooser_get_rgba: wrong annotations, broke bindings API
gtk_color_chooser_get_rgba: wrong annotations, broke bindings API
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
3.6.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
: 696971 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-11-05 12:30 UTC by Fabian Henze
Modified: 2014-01-08 18:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
untested patch to fix the annotations of gtk_color_chooser_get_rgba (412 bytes, patch)
2012-11-05 12:30 UTC, Fabian Henze
committed Details | Review

Description Fabian Henze 2012-11-05 12:30:00 UTC
Created attachment 228097 [details] [review]
untested patch to fix the annotations of gtk_color_chooser_get_rgba

Hi,
a recent archlinux update broke part of my application, because gtk_color_chooser_set_rgba now requires two arguments instead of one.
In other words, I had to write:
    mychooser.get_rgba(mycolor)
instead of
    mycolor = mychooser.get_rgba()

I don't know much about gobject introspection and its annotations, but I think the attached (untested!) patch will fix it.

Regards,
Fabian Henze
Comment 1 Emmanuele Bassi (:ebassi) 2012-11-05 12:36:24 UTC
Review of attachment 228097 [details] [review]:

looks good to me
Comment 2 Sébastien Wilmet 2013-01-04 14:43:29 UTC
Comment on attachment 228097 [details] [review]
untested patch to fix the annotations of gtk_color_chooser_get_rgba

Pushed to the master branch.
Comment 3 Simon Feltman 2014-01-08 18:33:14 UTC
*** Bug 696971 has been marked as a duplicate of this bug. ***