GNOME Bugzilla – Bug 690041
pygobject can't manage a caller-allocated out GArray
Last modified: 2012-12-17 20:49:13 UTC
After solving a introspection issue in get_text method in vte library (#690003 and #676999, we still can't use a caller-allocated out GArray. A test case is available here [2] You need use vte-0-34 branch in git. [1] https://bugzilla.gnome.org/show_bug.cgi?id=690003 [2] http://bugzilla-attachments.gnome.org/attachment.cgi?id=214263
Created attachment 231258 [details] [review] Proposed test for gobject-introspection
Comment on attachment 231258 [details] [review] Proposed test for gobject-introspection Thanks! I fixed the wrong datatype in g_array_append_val(), and brushed up the log: http://git.gnome.org/browse/gobject-introspection/commit/?id=f885e3ecce5e4f1df19659b76a89598d5df4fab5 I also added a test case to pygobject which calls the new API and reproduces the bug: http://git.gnome.org/browse/pygobject/commit/?id=f262320ac22b48a9d007c425633f3ca426b7fb4a Thanks!
Created attachment 231742 [details] [review] Add support for caller-allocated GArray out arguments With this patch caller-allocated GArray out arguments work. Review appreciated!
I'd like to have this in 3.7.3 which is due today. This is covered by tests and not all that complex, so I pushed the fix.