[vala] gtk+-2.0: Fix gtk_file_chooser_get_* bindings



commit 1c01e9eabf2d6a3a54cb0382dc969e395babe2b3
Author: Evan Nemerson <evan coeus-group com>
Date:   Wed Mar 18 09:47:29 2009 -0700

    gtk+-2.0: Fix gtk_file_chooser_get_* bindings
    
    Fix memory leaks when using several Gtk.FileChooser methods.
    Fixes bug 575824.
---
 vapi/gtk+-2.0.vapi                       |   12 ++++++------
 vapi/packages/gtk+-2.0/gtk+-2.0.metadata |    6 ++++++
 2 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index 198e2d4..e55d862 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -5309,21 +5309,21 @@ namespace Gtk {
 		public bool add_shortcut_folder_uri (string uri) throws GLib.Error;
 		public static GLib.Quark error_quark ();
 		public Gtk.FileChooserAction get_action ();
-		public unowned string get_current_folder ();
-		public unowned string get_current_folder_uri ();
+		public string get_current_folder ();
+		public string get_current_folder_uri ();
 		public bool get_do_overwrite_confirmation ();
 		public unowned Gtk.Widget get_extra_widget ();
-		public unowned string get_filename ();
+		public string get_filename ();
 		public unowned GLib.SList get_filenames ();
 		public unowned Gtk.FileFilter get_filter ();
 		public bool get_local_only ();
-		public unowned string get_preview_filename ();
-		public unowned string get_preview_uri ();
+		public string get_preview_filename ();
+		public string get_preview_uri ();
 		public unowned Gtk.Widget get_preview_widget ();
 		public bool get_preview_widget_active ();
 		public bool get_select_multiple ();
 		public bool get_show_hidden ();
-		public unowned string get_uri ();
+		public string get_uri ();
 		public unowned GLib.SList get_uris ();
 		public bool get_use_preview_label ();
 		public unowned GLib.SList list_filters ();
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index 3b23959..10f6813 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -112,6 +112,12 @@ gtk_entry_completion.func transfer_ownership="1"
 gtk_entry_completion.func_data hidden="1"
 gtk_entry_completion.func_notify hidden="1"
 gtk_false hidden="1"
+gtk_file_chooser_get_current_folder transfer_ownership="1"
+gtk_file_chooser_get_current_folder_uri transfer_ownership="1"
+gtk_file_chooser_get_filename transfer_ownership="1"
+gtk_file_chooser_get_preview_filename transfer_ownership="1"
+gtk_file_chooser_get_preview_uri transfer_ownership="1"
+gtk_file_chooser_get_uri transfer_ownership="1"
 gtk_file_chooser_dialog_new.title nullable="1"
 gtk_file_chooser_dialog_new.parent nullable="1"
 gtk_file_chooser_dialog_new_with_backend.title nullable="1"



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