diff options
author | Luca Bruno <lucabru@src.gnome.org> | 2016-01-30 15:38:30 +0100 |
---|---|---|
committer | Luca Bruno <lucabru@src.gnome.org> | 2016-01-30 15:38:30 +0100 |
commit | d4c2ce525ec7141301495c0073f313ff8dbcc5b9 (patch) | |
tree | 3efc1cc2e51541c56a98f689786eb789eb2986a8 | |
parent | 85fc59faf49dcb0789272db62ae090a04700d2a5 (diff) | |
download | vala-d4c2ce525ec7141301495c0073f313ff8dbcc5b9.tar.gz |
glib-2.0: fix Version usage
-rw-r--r-- | vapi/glib-2.0.vapi | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index 9f2ae539b..75f2e7da8 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -1893,7 +1893,7 @@ namespace GLib { } #if GLIB_2_32 - [Version (since = "2.32"))] + [Version (since = "2.32")] [CCode (destroy_function = "g_mutex_clear", lvalue_access = false)] public struct Mutex { #else @@ -3903,7 +3903,7 @@ namespace GLib { [Compact] #if GLIB_2_32 - [Version (since = "2.32"))] + [Version (since = "2.32")] [CCode (ref_function = "g_key_file_ref", unref_function = "g_key_file_unref", type_id = "G_TYPE_KEY_FILE")] #else [Version (since = "2.6")] @@ -4096,11 +4096,11 @@ 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 +4166,12 @@ 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 } |