]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
tests: Don't rely on external delegate defintions
authorRico Tzschichholz <ricotz@ubuntu.com>
Sat, 8 Oct 2016 14:30:58 +0000 (16:30 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 8 Oct 2016 14:30:58 +0000 (16:30 +0200)
tests/asynchronous/bug598697.vala
tests/methods/bug596726.vala
tests/objects/bug596621.vala

index 804039a42dc5ca21c6e797229888eafcf4625a43..24d310e09598695626d4a279efb0ecd9af389fce 100644 (file)
@@ -1,3 +1,5 @@
+delegate void Func ();
+
 public class Foo {
        public async void do_foo () {
                Func f = () => {};
index 6eaec26061284bf3a17323563f7cb5c68d0eaf8d..2203ece4c9273a12edcf4150ccbede936bfd5f70 100644 (file)
@@ -1,3 +1,5 @@
+delegate void Func ();
+
 void do_bar (Func f) {
 }
 
index 348ea40ad075a5853832ce621b55b2ae4ffb7791..8a732f175510606a693911f8f9663ace8179d3f3 100644 (file)
@@ -1,3 +1,5 @@
+delegate void Func ();
+
 class Foo : Object {
        [CCode (has_construct_function = false)]
        public Foo () {