[vala] gtk+-2.0, gtk+-3.0: Fix falsely "owned"-marked properties



commit 227e18bdf0b626ae947ee1972c5a81d33ee6a2d9
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Fri Aug 29 08:30:22 2014 +0200

    gtk+-2.0, gtk+-3.0: Fix falsely "owned"-marked properties
    
    https://bugzilla.gnome.org/show_bug.cgi?id=735538
    https://bugzilla.gnome.org/show_bug.cgi?id=735640

 vapi/gtk+-2.0.vapi                       |    8 ++++----
 vapi/gtk+-3.0.vapi                       |   12 ++++++------
 vapi/packages/gtk+-2.0/gtk+-2.0.metadata |    7 -------
 vapi/packages/gtk+-3.0/gtk+-3.0.metadata |    7 -------
 4 files changed, 10 insertions(+), 24 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index a5993f4..18f1098 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -6173,11 +6173,11 @@ namespace Gtk {
                public Gtk.FileChooserAction action { get; set; }
                public bool create_folders { get; set; }
                public bool do_overwrite_confirmation { get; set; }
-               public Gtk.Widget extra_widget { owned get; set; }
+               public Gtk.Widget extra_widget { get; set; }
                public string file_system_backend { construct; }
-               public Gtk.FileFilter filter { owned get; set; }
+               public Gtk.FileFilter filter { get; set; }
                public bool local_only { get; set; }
-               public Gtk.Widget preview_widget { owned get; set; }
+               public Gtk.Widget preview_widget { get; set; }
                public bool preview_widget_active { get; set; }
                public bool select_multiple { get; set; }
                public bool show_hidden { get; set; }
@@ -6241,7 +6241,7 @@ namespace Gtk {
                public void set_sort_type (Gtk.RecentSortType sort_type);
                public abstract void unselect_all ();
                public abstract void unselect_uri (string uri);
-               public Gtk.RecentFilter filter { owned get; set; }
+               public Gtk.RecentFilter filter { get; set; }
                public int limit { get; set; }
                public bool local_only { get; set; }
                public Gtk.RecentManager recent_manager { construct; }
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index c2f860b..a3042e9 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -7088,10 +7088,10 @@ namespace Gtk {
                public Gtk.FileChooserAction action { get; set; }
                public bool create_folders { get; set; }
                public bool do_overwrite_confirmation { get; set; }
-               public Gtk.Widget extra_widget { owned get; set; }
-               public Gtk.FileFilter filter { owned get; set; }
+               public Gtk.Widget extra_widget { get; set; }
+               public Gtk.FileFilter filter { get; set; }
                public bool local_only { get; set; }
-               public Gtk.Widget preview_widget { owned get; set; }
+               public Gtk.Widget preview_widget { get; set; }
                public bool preview_widget_active { get; set; }
                public bool select_multiple { get; set; }
                public bool show_hidden { get; set; }
@@ -7175,7 +7175,7 @@ namespace Gtk {
                public void set_sort_type (Gtk.RecentSortType sort_type);
                public abstract void unselect_all ();
                public abstract void unselect_uri (string uri);
-               public Gtk.RecentFilter filter { owned get; set; }
+               public Gtk.RecentFilter filter { get; set; }
                public int limit { get; set; }
                public bool local_only { get; set; }
                public Gtk.RecentManager recent_manager { construct; }
@@ -7198,9 +7198,9 @@ namespace Gtk {
                public void set_hscroll_policy (Gtk.ScrollablePolicy policy);
                public void set_vadjustment (Gtk.Adjustment vadjustment);
                public void set_vscroll_policy (Gtk.ScrollablePolicy policy);
-               public Gtk.Adjustment hadjustment { owned get; set construct; }
+               public Gtk.Adjustment hadjustment { get; set construct; }
                public Gtk.ScrollablePolicy hscroll_policy { get; set; }
-               public Gtk.Adjustment vadjustment { owned get; set construct; }
+               public Gtk.Adjustment vadjustment { get; set construct; }
                public Gtk.ScrollablePolicy vscroll_policy { get; set; }
        }
        [CCode (cheader_filename = "gtk/gtk.h")]
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index 5af7401..565842e 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -51,7 +51,6 @@ gtk_action_group_set_translate_func.func transfer_ownership="1"
 gtk_action_group_set_translate_func.data hidden="1"
 gtk_action_group_set_translate_func.notify hidden="1"
 gtk_action_group_list_actions transfer_ownership="1" type_arguments="unowned Action"
-GtkActivatable:related_action owned_get="1"
 GtkAdjustment::changed has_emitter="1"
 GtkAdjustment::value_changed has_emitter="1"
 gtk_alignment_get_padding.padding_top is_out="1"
@@ -259,9 +258,6 @@ 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"
 gtk_file_chooser_dialog_new_with_backend.parent nullable="1"
-GtkFileChooser:extra-widget owned_get="1"
-GtkFileChooser:filter owned_get="1"
-GtkFileChooser:preview-widget owned_get="1"
 gtk_file_filter_add_custom.func transfer_ownership="1"
 gtk_file_filter_add_custom.data hidden="1"
 gtk_file_filter_add_custom.notify hidden="1"
@@ -602,7 +598,6 @@ gtk_recent_chooser_set_sort_func.sort_data hidden="1"
 gtk_recent_chooser_set_sort_func.data_destroy hidden="1"
 gtk_recent_chooser_get_items transfer_ownership="1" type_arguments="RecentInfo"
 gtk_recent_chooser_list_filters transfer_ownership="1" type_arguments="unowned RecentFilter"
-GtkRecentChooser:filter owned_get="1"
 gtk_recent_info_get_application_info.app_exec is_out="1"
 gtk_recent_info_get_application_info.count is_out="1"
 gtk_recent_info_get_application_info.time_ is_out="1"
@@ -646,8 +641,6 @@ gtk_scale_draw_value hidden="1"
 gtk_scale_get_layout_offsets.x is_out="1"
 gtk_scale_get_layout_offsets.y is_out="1"
 GtkScale::format_value transfer_ownership="1"
-GtkScrollable:hadjustment owned_get="1"
-GtkScrollable:vadjustment owned_get="1"
 gtk_scrollbar_new.adjustment nullable="1"
 gtk_scrolled_window_get_policy.hscrollbar_policy is_out="1"
 gtk_scrolled_window_get_policy.vscrollbar_policy is_out="1"
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index 590d0b4..25aca69 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -62,7 +62,6 @@ gtk_action_group_list_actions transfer_ownership="1" type_arguments="unowned Act
 GtkActionable type_cname="GtkActionableInterface"
 gtk_actionable_set_action_target ellipsis="1"
 GtkActivatable deprecated_since="3.10"
-GtkActivatable:related_action owned_get="1"
 GtkAdjustment::changed has_emitter="1"
 GtkAdjustment::value_changed has_emitter="1"
 gtk_alignment_get_padding.padding_top is_out="1"
@@ -381,9 +380,6 @@ 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"
 gtk_file_chooser_dialog_new_with_backend.parent nullable="1"
-GtkFileChooser:extra-widget owned_get="1"
-GtkFileChooser:filter owned_get="1"
-GtkFileChooser:preview-widget owned_get="1"
 gtk_file_filter_add_custom.func transfer_ownership="1"
 gtk_file_filter_add_custom.data hidden="1"
 gtk_file_filter_add_custom.notify hidden="1"
@@ -857,7 +853,6 @@ gtk_recent_chooser_set_sort_func.sort_data hidden="1"
 gtk_recent_chooser_set_sort_func.data_destroy hidden="1"
 gtk_recent_chooser_get_items transfer_ownership="1" type_arguments="RecentInfo"
 gtk_recent_chooser_list_filters transfer_ownership="1" type_arguments="unowned RecentFilter"
-GtkRecentChooser:filter owned_get="1"
 gtk_recent_info_create_app_info transfer_ownership="1"
 gtk_recent_info_get_application_info.app_exec is_out="1"
 gtk_recent_info_get_application_info.count is_out="1"
@@ -907,8 +902,6 @@ gtk_scale_get_layout_offsets.x is_out="1"
 gtk_scale_get_layout_offsets.y is_out="1"
 GtkScale::format_value transfer_ownership="1"
 GtkScrollable type_cname="GtkScrollableInterface"
-GtkScrollable:hadjustment owned_get="1"
-GtkScrollable:vadjustment owned_get="1"
 gtk_scrollbar_new.adjustment nullable="1"
 gtk_scrolled_window_get_policy.hscrollbar_policy is_out="1"
 gtk_scrolled_window_get_policy.vscrollbar_policy is_out="1"


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