I opened a bug and attached a patch that seems to fix the problem: https://bugzilla.gnome.org/show_bug.cgi?id=639980 There is a similar piece of code in src/optional/python-bindings/glib.i, but changing this did not seem to have an effect. -Brian