[vala] Add lvalue_access = false to Mutex and Cond



commit 7616e0339c2099243acaba7dd3cc47210db97bdd
Author: Luca Bruno <lucabru src gnome org>
Date:   Sun Aug 3 20:42:09 2014 +0200

    Add lvalue_access = false to Mutex and Cond
    
    Fixes bug 733500

 vapi/glib-2.0.vapi |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 2877072..272a1ad 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -1775,7 +1775,7 @@ namespace GLib {
        }
 
 #if GLIB_2_32
-       [CCode (destroy_function = "g_mutex_clear")]
+       [CCode (destroy_function = "g_mutex_clear", lvalue_access = false)]
        public struct Mutex {
 #else
        [Compact]
@@ -1858,7 +1858,7 @@ namespace GLib {
        }
 
 #if GLIB_2_32
-       [CCode (destroy_function = "g_cond_clear")]
+       [CCode (destroy_function = "g_cond_clear", lvalue_access = false)]
        public struct Cond {
 #else
        [Compact]


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