[vala] glib-2.0: fix Version usage
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] glib-2.0: fix Version usage
- Date: Sat, 30 Jan 2016 14:38:40 +0000 (UTC)
commit d4c2ce525ec7141301495c0073f313ff8dbcc5b9
Author: Luca Bruno <lucabru src gnome org>
Date: Sat Jan 30 15:38:30 2016 +0100
glib-2.0: fix Version usage
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 9f2ae53..75f2e7d 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
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]