[gobject-introspection] make check pass for recent commits
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] make check pass for recent commits
- Date: Fri, 17 Dec 2010 17:59:25 +0000 (UTC)
commit 5d0a2dd5d6b4a9ceb3c4f55ab047b66e0ce41e39
Author: Colin Walters <walters verbum org>
Date: Fri Dec 17 12:58:59 2010 -0500
make check pass for recent commits
* Fix use of tabs
* Update for correct signal parameters
giscanner/girwriter.py | 2 +-
tests/scanner/Annotation-1.0-expected.gir | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/giscanner/girwriter.py b/giscanner/girwriter.py
index 4f7bd64..1eca615 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 330ad23..6ee00f7 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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]