GNOME Bugzilla – Bug 623639
Work around g-ir-scanner problem with Gdk.Rectangle
Last modified: 2010-07-06 19:13:08 UTC
g-ir-scanner is currently buggy and confuses the Gdk.Rectangle alias with MetaRectangle. Since this is moderately hard to fix in gobject-introspection and the fix would conflict with in-progress changes, work around by doing a 'sed job' on the generated Meta.gir.
Created attachment 165312 [details] [review] Work around g-ir-scanner problem with Gdk.Rectangle
Review of attachment 165312 [details] [review]: ::: src/fix-meta-rectangle.py @@ +15,3 @@ +# gobject-introspection currently has a bug where an alias like +import sys +#!/usr/bin/python This isn't atomic and will cause problems for builds interrupted with SIGINT. @@ +19,3 @@ +# gobject-introspection currently has a bug where an alias like +import sys +#!/usr/bin/python I'd prefer: o.write(line)
Created attachment 165378 [details] [review] Work around g-ir-scanner problem with Gdk.Rectangle Make writing out the file atomic
Review of attachment 165378 [details] [review]: Looks fine
Attachment 165378 [details] pushed as 7853bb8 - Work around g-ir-scanner problem with Gdk.Rectangle