]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: fix argument type of several TestCase constructor arguments
authorTravis Reitter <travis.reitter@collabora.co.uk>
Thu, 29 Apr 2010 21:09:45 +0000 (14:09 -0700)
committerEvan Nemerson <evan@coeus-group.com>
Thu, 29 Apr 2010 21:09:45 +0000 (14:09 -0700)
Fixes bug 617193.

vapi/glib-2.0.vapi

index 6abd852569bbb04e116278abeba05f745ae73090..fb2aa4cce3699d7f8cde4ab6c3d8dfca912dfc42 100644 (file)
@@ -3134,7 +3134,7 @@ namespace GLib {
        [CCode (cname = "GTestCase", ref_function = "", unref_function = "")]
        public class TestCase {
                [CCode (cname = "g_test_create_case")]
-               public TestCase (string test_name, [CCode (delegate_target_pos = 1.9, type = "void (*) ()")] TestFunc data_setup, [CCode (delegate_target_pos = 1.9, type = "void (*) ()")] TestFunc data_func, [CCode (delegate_target_pos = 1.9, type = "void (*) ()")] TestFunc data_teardown, [CCode (pos = 1.8)] size_t data_size = 0);
+               public TestCase (string test_name, [CCode (delegate_target_pos = 1.9, type = "void (*) (void)")] TestFunc data_setup, [CCode (delegate_target_pos = 1.9, type = "void (*) (void)")] TestFunc data_func, [CCode (delegate_target_pos = 1.9, type = "void (*) (void)")] TestFunc data_teardown, [CCode (pos = 1.8)] size_t data_size = 0);
        }
 
        [Compact]