[cheese] Mark CheeseFileutil strings as owned



commit 8da626db5f1fc822c6fd842c15d0537f14de9ece
Author: David King <amigadave amigadave com>
Date:   Fri Nov 15 09:37:03 2013 +0000

    Mark CheeseFileutil strings as owned
    
    The strings were marked as unowned, which meant that the Vala compiler
    did not emit free functions and the strings were leaked.

 src/vapi/cheese-common.vapi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/vapi/cheese-common.vapi b/src/vapi/cheese-common.vapi
index 26e12a2..daf75ad 100644
--- a/src/vapi/cheese-common.vapi
+++ b/src/vapi/cheese-common.vapi
@@ -107,7 +107,7 @@ namespace Cheese
     [CCode (cname = "cheese_fileutil_new", has_construct_function = false)]
     public FileUtil ();
     [CCode (cname = "cheese_fileutil_get_new_media_filename")]
-    public unowned string get_new_media_filename (Cheese.MediaMode mode);
+    public string get_new_media_filename (Cheese.MediaMode mode);
     [CCode (cname = "cheese_fileutil_get_photo_path")]
     public unowned string get_photo_path ();
     [CCode (cname = "cheese_fileutil_get_video_path")]


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