GNOME Bugzilla – Bug 607674
_pygi_import shouldn't raise an error if pygi support is disabled
Last modified: 2010-02-02 21:13:02 UTC
Functions like pyg_boxed_new, pyg_pointer_new, and pygobject_lookup_class used to clear the error anyway, but others (i.e. pyg_enum_from_gtype and pyg_flags_from_enum) didn't. It's safer not to raise an error when pygi is disabled and not to clear errors in functions cited above, in case pygi is enabled.
Created attachment 151950 [details] [review] Don't raise an error in_pygi_import if pygi support is disabled
Simon I've marked the patch as commit now few time ago
Review of attachment 151950 [details] [review]: Sorry, I didn't notice. Thanks! Committed as 23fc0f6.