[vala] gio-2.0: Set Settings.get_string as transferring ownership



commit 69030dbfe6721210923e205559270bdde711d2a1
Author: Michael Terry <mike mterry name>
Date:   Mon Jan 17 08:10:17 2011 -0500

    gio-2.0: Set Settings.get_string as transferring ownership

 vapi/gio-2.0.vapi                      |    2 +-
 vapi/packages/gio-2.0/gio-2.0.metadata |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index cd76953..7f899fd 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -1135,7 +1135,7 @@ namespace GLib {
 		public int get_int (string key);
 		public void* get_mapped (string key, GLib.SettingsGetMapping mapping);
 		public unowned GLib.Variant get_range (string key);
-		public unowned string get_string (string key);
+		public string get_string (string key);
 		[CCode (array_length = false, array_null_terminated = true)]
 		public string[] get_strv (string key);
 		public GLib.Variant get_value (string key);
diff --git a/vapi/packages/gio-2.0/gio-2.0.metadata b/vapi/packages/gio-2.0/gio-2.0.metadata
index 8441ac9..3260a3c 100644
--- a/vapi/packages/gio-2.0/gio-2.0.metadata
+++ b/vapi/packages/gio-2.0/gio-2.0.metadata
@@ -327,6 +327,7 @@ GSettings::changes has_emitter="1"
 GSettingsBackend::changed has_emitter="1"
 g_settings_get_list transfer_ownership="1"
 g_settings_get_settings transfer_ownership="1"
+g_settings_get_string transfer_ownership="1"
 g_settings_get_value transfer_ownership="1"
 g_settings_backend_read transfer_ownership="1"
 g_settings_list_add transfer_ownership="1"



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