summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2010-09-03 17:11:24 -0400
committerColin Walters <walters@verbum.org>2010-09-03 17:11:40 -0400
commit4a006e6b7b61636e097ffdcfbe5cd6b40129842d (patch)
tree8ae57f95f976c7854ac1cc4e87b7382bb81a10ae
parent33ead62f2b18f9c5a0b6a40f0e843ee515fcd853 (diff)
downloadgobject-introspection-4a006e6b7b61636e097ffdcfbe5cd6b40129842d.tar.gz
scanner: Fix misuse of message.warn_symbol
The "symbol" is actually just a string identifier, not a real symbol. We already added the file positions when parsing earlier.
-rw-r--r--giscanner/maintransformer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/maintransformer.py b/giscanner/maintransformer.py
index c638721a..2e1a1269 100644
--- a/giscanner/maintransformer.py
+++ b/giscanner/maintransformer.py
@@ -625,7 +625,7 @@ class MainTransformer(object):
self._apply_annotations_callable(vfunc, [parent], block)
break
if not matched:
- message.warn_symbol(node.symbol,
+ message.warn_node(node,
"Virtual slot %r not found for %r annotation" % (invoker_name, TAG_VFUNC))
def _resolve_and_filter_type_list(self, typelist):