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 696971 - Gtk ColorButton get_rgba requires two arguments in Python (incorrect introspection annotation?)
Gtk ColorButton get_rgba requires two arguments in Python (incorrect introspe...
Status: RESOLVED DUPLICATE of bug 687633
Product: gtk+
Classification: Platform
Component: .General
3.6.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks: 682886
 
 
Reported: 2013-03-31 14:26 UTC by Jean-François Fortin Tam
Modified: 2014-01-08 18:33 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jean-François Fortin Tam 2013-03-31 14:26:34 UTC
In Pitivi, creating a gtk color button and doing the_widget.get_rgba()

Gives you this Traceback with pygobject 3.8:
  • File "pygobject/gi/types.py", line 113 in function
    return info.invoke(*args, **kwargs)
TypeError: get_rgba() takes exactly 2 arguments (1 given)

Comment 1 Matthias Clasen 2013-04-01 02:23:58 UTC
The only thing that happened recently is bug 687633
Comment 2 Simon Feltman 2013-04-01 04:39:08 UTC
I cannot reproduce this with a simple example:

from gi.repository import Gtk
b = Gtk.ColorButton()
b.get_rgba()
<Gdk.Color(red=0.000000, green=0.000000, blue=0.000000, alpha=1.000000)>
Comment 3 Simon Feltman 2014-01-08 18:33:14 UTC

*** This bug has been marked as a duplicate of bug 687633 ***