]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Add lvalue_access = false to Mutex and Cond
authorLuca Bruno <lucabru@src.gnome.org>
Sun, 3 Aug 2014 18:42:09 +0000 (20:42 +0200)
committerLuca Bruno <lucabru@src.gnome.org>
Sun, 3 Aug 2014 18:42:49 +0000 (20:42 +0200)
Fixes bug 733500

vapi/glib-2.0.vapi

index 28770720cdce40cf59e6918990cf2b1cefc7300e..272a1ad309d70e94de8db94c29f2965a4646e8da 100644 (file)
@@ -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]