diff options
author | Pavel Holejsovsky <pholejs@src.gnome.org> | 2011-07-27 16:35:18 +0200 |
---|---|---|
committer | Pavel Holejsovsky <pholejs@src.gnome.org> | 2011-07-29 14:46:40 +0200 |
commit | 9550998bb93f8e89c539446d018212ae475456f9 (patch) | |
tree | 940c726b16215c5d895f3765e232b44d7c5745df /giscanner/gdumpparser.py | |
parent | 08f84ae488cdea1865bb430e76040496483a495d (diff) | |
download | gobject-introspection-9550998bb93f8e89c539446d018212ae475456f9.tar.gz |
Workaround for CairoRectangleInt exposed in Gdk-3.0.gir
This is simple workaround which ignores CairoRectangleInt boxed type
appearing as defined by libgdk, because libgdk simply aliases this
gtype for GdkRectangle (as it also typedef's GdkRectangle to
cairo_rectangle_int_t).
https://bugzilla.gnome.org/show_bug.cgi?id=655423
Diffstat (limited to 'giscanner/gdumpparser.py')
-rw-r--r-- | giscanner/gdumpparser.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/giscanner/gdumpparser.py b/giscanner/gdumpparser.py index 87621bc9..c2509377 100644 --- a/giscanner/gdumpparser.py +++ b/giscanner/gdumpparser.py @@ -397,6 +397,11 @@ different --identifier-prefix.""" % (xmlnode.attrib['name'], self._namespace.ide self._introspect_boxed_gstreamer_workaround(xmlnode) return + # Work around CairoRectangleInt vs. GdkRectangle issue + # https://bugzilla.gnome.org/show_bug.cgi?id=655423 + if type_name == 'CairoRectangleInt': + return + try: name = self._transformer.strip_identifier(type_name) except TransformerException, e: |