]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: make DirUtils.mkdtemp transfer ownership
authorEvan Nemerson <evan@nemerson.com>
Thu, 30 Jul 2015 16:20:49 +0000 (09:20 -0700)
committerEvan Nemerson <evan@nemerson.com>
Thu, 30 Jul 2015 16:20:49 +0000 (09:20 -0700)
vapi/glib-2.0.vapi

index e9cdf8f300ed4cf795f4440a37103dadcd0061cf..b6b87c28757c76a74a926f1ba6a82451ff2b1979 100644 (file)
@@ -3252,7 +3252,7 @@ namespace GLib {
                [CCode (cname = "g_mkdir_with_parents")]
                public static int create_with_parents (string pathname, int mode);
                [CCode (cname = "mkdtemp")]
-               public static unowned string mkdtemp (string template);
+               public static string mkdtemp (owned string template);
                [CCode (cname = "g_dir_make_tmp")]
                public static string make_tmp (string tmpl) throws FileError;
                [CCode (cname = "g_rmdir")]