[gobject-introspection] Workaround for CairoRectangleInt exposed in Gdk-3.0.gir
- From: Pavel Holejsovsky <pholejs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] Workaround for CairoRectangleInt exposed in Gdk-3.0.gir
- Date: Fri, 29 Jul 2011 12:55:50 +0000 (UTC)
commit 9550998bb93f8e89c539446d018212ae475456f9
Author: Pavel Holejsovsky <pholejs src gnome org>
Date: Wed Jul 27 16:35:18 2011 +0200
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
giscanner/gdumpparser.py | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/giscanner/gdumpparser.py b/giscanner/gdumpparser.py
index 87621bc..c250937 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:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]