summaryrefslogtreecommitdiff
path: root/tests/girwriter/girtest.vala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/girwriter/girtest.vala')
-rw-r--r--tests/girwriter/girtest.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/girwriter/girtest.vala b/tests/girwriter/girtest.vala
index b2b107385..1125bfa1c 100644
--- a/tests/girwriter/girtest.vala
+++ b/tests/girwriter/girtest.vala
@@ -163,7 +163,7 @@ namespace GirTest {
public delegate bool DelegateErrorTest () throws ErrorTest;
- public delegate bool DelegateGenericsTest<G,T> (G g, T t);
+ public delegate bool DelegateGenericsTest<G,T> (G g, T? t);
[GIR (visible = false)]
public delegate void SkippedDelegate ();
@@ -436,7 +436,7 @@ namespace GirTest {
public GenericsTest.typed (owned DelegateGenericsTest<G,T> cb) {
}
- public void method (T param) {
+ public void method (T? param) {
}
}