From: Luca Bruno Date: Sat, 30 Jan 2016 14:55:09 +0000 (+0100) Subject: glib-2.0: fix Version on some symbols X-Git-Tag: 0.31.1~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1b28df967ef1ff2bdc1c9226f2ff4eb898006a6;p=thirdparty%2Fvala.git glib-2.0: fix Version on some symbols --- diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index 75f2e7da8..4caf18e9a 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -4096,11 +4096,10 @@ namespace GLib { public static bool quiet (); [Version (since = "2.16")] public static int run (); + [Version (since = "2.16")] #if GLIB_2_26 - [Version (since = "2.26")] public static void add_func (string testpath, TestFunc test_funcvoid); #else - [Version (since = "2.16")] public static void add_func (string testpath, Callback test_funcvoid); #endif [Version (since = "2.16")] @@ -4166,12 +4165,11 @@ namespace GLib { [Compact] [CCode (cname = "GTestCase", ref_function = "", unref_function = "")] public class TestCase { + [Version (since = "2.16")] [CCode (cname = "g_test_create_case")] #if GLIB_2_26 - [Version (since = "2.26")] public TestCase (string test_name, [CCode (delegate_target_pos = 1.9)] TestFixtureFunc data_setup, [CCode (delegate_target_pos = 1.9)] TestFixtureFunc data_func, [CCode (delegate_target_pos = 1.9)] TestFixtureFunc data_teardown, [CCode (pos = 1.8)] size_t data_size = 0); #else - [Version (since = "2.16")] 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); #endif }