aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2010-02-09 16:10:42 -0300
committerMarcelo Lira <marcelo.lira@openbossa.org>2010-02-10 08:43:17 -0300
commit29aa5049a8790dd2c758c3b76a08182dc8021c28 (patch)
treeeb63f9ef6aa3d2e302b91eb0129ea12761463344 /tests
parent5316ff58e5c527360d22cd43328990da10ce4ec7 (diff)
Adds 'reference-count' tag to ObjectView::setModel from test bindings.
Diffstat (limited to 'tests')
-rw-r--r--tests/samplebinding/typesystem_sample.xml8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/samplebinding/typesystem_sample.xml b/tests/samplebinding/typesystem_sample.xml
index 9d06a2803..1f22805bd 100644
--- a/tests/samplebinding/typesystem_sample.xml
+++ b/tests/samplebinding/typesystem_sample.xml
@@ -138,7 +138,13 @@
</modify-function>
</object-type>
- <object-type name="ObjectView"/>
+ <object-type name="ObjectView">
+ <modify-function signature="setModel(ObjectType*)">
+ <modify-argument index="1">
+ <reference-count action="add"/>
+ </modify-argument>
+ </modify-function>
+ </object-type>
<value-type name="Event"/>