GNOME Bugzilla – Bug 695056
Struct in arguments invalid after callback
Last modified: 2014-01-24 22:18:19 UTC
The following segfaults: ####################################### from gi.repository import Gtk model = Gtk.ListStore(object) model.insert(0, row=[object()]) paths = [] def func(model, path, iter_, *args): paths.append(path) model.foreach(func, None) print paths[0] ####################################### path is IN, ownership-transfer=None and doesn't seem to get copied.
Verified.
*** This bug has been marked as a duplicate of bug 722899 ***