summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2010-12-17 12:58:59 -0500
committerColin Walters <walters@verbum.org>2010-12-17 12:58:59 -0500
commit5d0a2dd5d6b4a9ceb3c4f55ab047b66e0ce41e39 (patch)
treeb866d45b76d9935b74d57b379f6c36cc255490cb
parent8401e708643cc2c80aa55e7206faf36f9d175cc7 (diff)
downloadgobject-introspection-5d0a2dd5d6b4a9ceb3c4f55ab047b66e0ce41e39.tar.gz
make check pass for recent commits
* Fix use of tabs * Update for correct signal parameters
-rw-r--r--giscanner/girwriter.py2
-rw-r--r--tests/scanner/Annotation-1.0-expected.gir8
2 files changed, 5 insertions, 5 deletions
diff --git a/giscanner/girwriter.py b/giscanner/girwriter.py
index 4f7bd64c..1eca6159 100644
--- a/giscanner/girwriter.py
+++ b/giscanner/girwriter.py
@@ -242,7 +242,7 @@ and/or use gtk-doc annotations. ''')
return typeval.target_giname
def _write_type_ref(self, ntype):
- """ Like _write_type, but only writes the type name rather than the full details """
+ """ Like _write_type, but only writes the type name rather than the full details """
assert isinstance(ntype, ast.Type), ntype
attrs = []
if ntype.ctype:
diff --git a/tests/scanner/Annotation-1.0-expected.gir b/tests/scanner/Annotation-1.0-expected.gir
index 330ad236..6ee00f76 100644
--- a/tests/scanner/Annotation-1.0-expected.gir
+++ b/tests/scanner/Annotation-1.0-expected.gir
@@ -541,12 +541,12 @@ annotation_object_watch_full().</doc>
<type name="utf8"/>
</return-value>
<parameters>
- <parameter name="object" transfer-ownership="none">
+ <parameter name="arg1" transfer-ownership="none">
<attribute name="some.annotation.foo1" value="val1"/>
<doc xml:whitespace="preserve">a value</doc>
<type name="utf8"/>
</parameter>
- <parameter name="p0" transfer-ownership="none">
+ <parameter name="arg2" transfer-ownership="none">
<attribute name="some.annotation.foo2" value="val2"/>
<doc xml:whitespace="preserve">another value</doc>
<type name="utf8"/>
@@ -571,7 +571,7 @@ known by GObject as it's only marked as G_TYPE_POINTER</doc>
<type name="none"/>
</return-value>
<parameters>
- <parameter name="object" transfer-ownership="container">
+ <parameter name="list" transfer-ownership="container">
<doc xml:whitespace="preserve">a list of strings</doc>
<type name="GLib.List">
<type name="utf8"/>
@@ -589,7 +589,7 @@ it says it's pointer but it's actually a string.</doc>
<type name="none"/>
</return-value>
<parameters>
- <parameter name="object" transfer-ownership="none">
+ <parameter name="string" transfer-ownership="none">
<doc xml:whitespace="preserve">a string</doc>
<type name="utf8"/>
</parameter>