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 440034 - Interface proxy methods require "out" direction
Interface proxy methods require "out" direction
Status: RESOLVED WONTFIX
Product: pygtk
Classification: Bindings
Component: atk
Git Master
Other Linux
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
gnome[unmaintained]
Depends on: 440059
Blocks: atk-proxy
 
 
Reported: 2007-05-20 21:59 UTC by Peter Parente
Modified: 2018-08-17 13:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
set direction to out (5.97 KB, patch)
2007-05-20 23:41 UTC, Peter Parente
none Details | Review
set direction to out, missed a few cases (7.67 KB, patch)
2007-05-26 02:42 UTC, Peter Parente
none Details | Review

Description Peter Parente 2007-05-20 21:59:05 UTC
Many errors of the form:

Could not write interface proxy AtkEditableText.insert_text: cannot use int* parameter with direction 'None'

are generated when generating the atk wrappers from the atk.defs file. These errors are easily fixed by stating the direction as "out" for outbound parameters. This improves coverage of the wrappers in many cases.
Comment 1 Peter Parente 2007-05-20 23:41:15 UTC
Created attachment 88517 [details] [review]
set direction to out
Comment 2 Peter Parente 2007-05-25 19:57:05 UTC
Gustavo,

This patch fixes all the out parameters for proxy method generation against atk. Your fix for bug #440059 means this patch can now be checked in.

Thanks!
Comment 3 Peter Parente 2007-05-26 02:42:09 UTC
Created attachment 88832 [details] [review]
set direction to out, missed a few cases

Previous patch missed a few AtkValue methods.
Comment 4 André Klapper 2018-08-17 13:37:30 UTC
pygtk is not under active development anymore and had its last code changes
in 2013. Its codebase has been archived:
https://gitlab.gnome.org/Archive/pygtk/commits/master

PyGObject at https://gitlab.gnome.org/GNOME/pygobject is its successor. See https://pygobject.readthedocs.io/en/latest/guide/porting.html for porting info.

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect
reality. Feel free to open a task in GNOME Gitlab if the issue described in this task still applies to a recent version of PyGObject. Thanks!