FS#24788 - [gobject-introspection] Problem with python's gobject-introspection
Attached to Project:
Arch Linux
Opened by Timo Schmiade (the_isz) - Sunday, 19 June 2011, 13:56 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Saturday, 17 November 2012, 03:18 GMT
Opened by Timo Schmiade (the_isz) - Sunday, 19 June 2011, 13:56 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Saturday, 17 November 2012, 03:18 GMT
|
Details
Description:
I think this is a missing translation. Unfortunately, I don't know if this is an upstream bug or a problem of arch's packaging, but the guys at irc.gnome.org didn't seem to be awake when I tried asking. Steps to reproduce: import gi gi.require_version('Gtk', '3.0') from gi.repository import Gtk hBox = Gtk.HBox() button = Gtk.RadioButton() hBox.pack_start(button, False, False, 0) hBox.child_get_property(button, "expand") Traceback (most recent call last): File "<stdin>", line 5, in <module> File "/usr/lib/python2.7/site-packages/gi/types.py", line 44, in function return info.invoke(*args) TypeError: child_get_property() takes exactly 4 argument(s) (3 given) The last argument is "value" in the C library and takes a pointer where to store the result of the operation. In the python translation, this value should be returned instead. |
This task depends upon
Closed by Gerardo Exequiel Pozzi (djgera)
Saturday, 17 November 2012, 03:18 GMT
Reason for closing: Upstream
Saturday, 17 November 2012, 03:18 GMT
Reason for closing: Upstream
Comment by Timo Schmiade (the_isz) -
Sunday, 19 June 2011, 14:39 GMT
Reported upstream:
https://bugzilla.gnome.org/show_bug.cgi?id=652941