]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Fix MutexLocker binding 5b26f5d9b61617b4044b064bba10cb576bf52213
authorJeremy Philippe <jeremy.philippe@gmail.com>
Sun, 1 Sep 2019 23:27:44 +0000 (01:27 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 2 Sep 2019 09:27:01 +0000 (11:27 +0200)
vapi/glib-2.0.vapi

index 966abb5182053b2de79e5f0d34e3c653b6a607fd..3071407788893ef32de9011378115a02935ad5bd 100644 (file)
@@ -2070,9 +2070,11 @@ namespace GLib {
        }
 
        [Version (since = "2.44")]
-       [CCode (destroy_function = "g_mutex_locker_free")]
-       public struct MutexLocker {
+       [Compact]
+       [CCode (free_function = "g_mutex_locker_free")]
+       public class MutexLocker {
                public MutexLocker (Mutex mutex);
+               [DestroysInstance]
                public void free ();
        }