summaryrefslogtreecommitdiff
path: root/giscanner
diff options
context:
space:
mode:
authorOwen W. Taylor <otaylor@fishsoup.net>2010-05-07 14:08:22 -0400
committerOwen W. Taylor <otaylor@fishsoup.net>2010-05-07 14:08:22 -0400
commit6c0e72df7c6c30f81e54ea8e7f375cc27ae0c1ef (patch)
tree9def9346e323eaacb13e71c768b04bab1c250a03 /giscanner
parent36c1996038e41838697cea3a0d56d50dca664eb3 (diff)
downloadgobject-introspection-6c0e72df7c6c30f81e54ea8e7f375cc27ae0c1ef.tar.gz
Fix parameter ordering in error message
The function name and parameter name were backwards when warning about bad parameter references.
Diffstat (limited to 'giscanner')
-rw-r--r--giscanner/annotationparser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/annotationparser.py b/giscanner/annotationparser.py
index 3a8aa8e5..19a5b352 100644
--- a/giscanner/annotationparser.py
+++ b/giscanner/annotationparser.py
@@ -528,7 +528,7 @@ class AnnotationApplier(object):
if index is None:
raise InvalidAnnotationError(
"can't find parameter %s referenced by parameter %s of %r"
- % (param_name, parent.name, location_name))
+ % (param_name, location_name, parent.name))
return index