]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Set default value of StaticMutex to G_STATIC_MUTEX_INIT
authorLuca Bruno <lucabru@src.gnome.org>
Mon, 3 Oct 2011 08:57:25 +0000 (10:57 +0200)
committerLuca Bruno <lucabru@src.gnome.org>
Mon, 3 Oct 2011 08:57:25 +0000 (10:57 +0200)
Fixes bug 660764.

vapi/glib-2.0.vapi

index 8c46141cf41f47f230cde0984da2d1ad0a47ec89..5859d23898fa6aa0971ad9ca4cf78f4baf5a1475 100644 (file)
@@ -1843,7 +1843,7 @@ namespace GLib {
                public void unlock ();
        }
 
-       [CCode (destroy_function = "g_static_mutex_free")]
+       [CCode (destroy_function = "g_static_mutex_free", default_value = "G_STATIC_MUTEX_INIT")]
        public struct StaticMutex {
                public StaticMutex ();
                public void lock ();