aboutsummaryrefslogtreecommitdiffstats
path: root/main/gobject-introspection/0002-Skip-analysis-of-params-that-have-been-skip-d.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-10-10 13:53:54 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-10-10 14:01:45 +0000
commit5b8f8a57ab0b5d233d83e6c22988972f07d19390 (patch)
treeedcfdbbd0162064f13b881c06e6f0e97722ad8d9 /main/gobject-introspection/0002-Skip-analysis-of-params-that-have-been-skip-d.patch
parent336acafdb5ccf4185d7ad28d58fc92d3011d986a (diff)
downloadaports-5b8f8a57ab0b5d233d83e6c22988972f07d19390.tar.bz2
aports-5b8f8a57ab0b5d233d83e6c22988972f07d19390.tar.xz
main/gobject-introspection: upgrade to 1.30.0
Diffstat (limited to 'main/gobject-introspection/0002-Skip-analysis-of-params-that-have-been-skip-d.patch')
-rw-r--r--main/gobject-introspection/0002-Skip-analysis-of-params-that-have-been-skip-d.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/main/gobject-introspection/0002-Skip-analysis-of-params-that-have-been-skip-d.patch b/main/gobject-introspection/0002-Skip-analysis-of-params-that-have-been-skip-d.patch
new file mode 100644
index 0000000000..a043b17d99
--- /dev/null
+++ b/main/gobject-introspection/0002-Skip-analysis-of-params-that-have-been-skip-d.patch
@@ -0,0 +1,29 @@
+From 9234ff4eac87a5b635a6f19fa12e081d628dcf61 Mon Sep 17 00:00:00 2001
+From: Stef Walter <stefw@collabora.co.uk>
+Date: Wed, 28 Sep 2011 14:01:26 +0200
+Subject: [PATCH 2/8] Skip analysis of params that have been (skip)'d
+
+Otherwise we get warnings for params that have been skipped
+
+https://bugzilla.gnome.org/show_bug.cgi?id=660352
+---
+ giscanner/introspectablepass.py | 3 +++
+ 1 files changed, 3 insertions(+), 0 deletions(-)
+
+diff --git a/giscanner/introspectablepass.py b/giscanner/introspectablepass.py
+index 95d54b0..77a0e4f 100644
+--- a/giscanner/introspectablepass.py
++++ b/giscanner/introspectablepass.py
+@@ -74,6 +74,9 @@ class IntrospectablePass(object):
+ else:
+ target = None
+
++ if node.skip:
++ return
++
+ if not node.type.resolved:
+ self._parameter_warning(parent, node,
+ "Unresolved type: %r" % (node.type.unresolved_string, ))
+--
+1.7.7
+