[vala] glib-2.0: fix Version on some symbols



commit d1b28df967ef1ff2bdc1c9226f2ff4eb898006a6
Author: Luca Bruno <lucabru src gnome org>
Date:   Sat Jan 30 15:55:09 2016 +0100

    glib-2.0: fix Version on some symbols

 vapi/glib-2.0.vapi |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 75f2e7d..4caf18e 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
        }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]