summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stefw@collabora.co.uk>2011-09-28 14:01:26 +0200
committerStef Walter <stefw@collabora.co.uk>2011-09-28 14:01:26 +0200
commit9234ff4eac87a5b635a6f19fa12e081d628dcf61 (patch)
treef3303dd7d94faf82bbdb70fcc083f44a1facaf2f
parente8b336cc0747b528263ec809d142f4803dcbdf35 (diff)
downloadgobject-introspection-9234ff4eac87a5b635a6f19fa12e081d628dcf61.tar.gz
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
-rw-r--r--giscanner/introspectablepass.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/giscanner/introspectablepass.py b/giscanner/introspectablepass.py
index 95d54b0a..77a0e4f7 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, ))