[vala] glib-2.0: make DirUtils.mkdtemp transfer ownership



commit 328eafa3e09de150cdeaeb232a8260359d402c39
Author: Evan Nemerson <evan nemerson com>
Date:   Thu Jul 30 09:20:49 2015 -0700

    glib-2.0: make DirUtils.mkdtemp transfer ownership

 vapi/glib-2.0.vapi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index e9cdf8f..b6b87c2 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -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")]


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