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 637602 - Failing gtk_text_view_get_iter_location
Failing gtk_text_view_get_iter_location
Status: RESOLVED DUPLICATE of bug 637601
Product: pygobject
Classification: Bindings
Component: introspection
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2010-12-19 20:32 UTC by jessevdk@gmail.com
Modified: 2010-12-19 21:02 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description jessevdk@gmail.com 2010-12-19 20:32:45 UTC
I have the following failure when using textview.get_iter_location:

** (gedit:12582): WARNING **: Out argument 1 in get_iter_location returns a struct with a transfer mode of "full". Transfer mode should be set to "none" for struct type returns as there is no way to free them safely.  Ignoring transfer mode to prevent a potential invalid free. This may cause a leak in your application

Note that this could be related maybe to bug #637601.
Comment 1 johnp 2010-12-19 21:02:25 UTC
It looks like it is related. That method should return a 4 element tuple if the foreign types are working correctly.

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