[vala/0.38] gtk+-*.0: Set NoAccessorMethod on Gtk.Radio*.group properties



commit c2d71b787d3cfecd80076599c942893639573fa8
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sat Apr 14 09:01:25 2018 +0200

    gtk+-*.0: Set NoAccessorMethod on Gtk.Radio*.group properties
    
    The type of get/set_group() doesn't match the property type.

 vapi/gtk+-2.0.vapi                       |    2 ++
 vapi/gtk+-3.0.vapi                       |    2 ++
 vapi/packages/gtk+-2.0/gtk+-2.0.metadata |    2 ++
 vapi/packages/gtk+-3.0/gtk+-3.0.metadata |    2 ++
 4 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index 1f58808..9fbec85 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -3356,6 +3356,7 @@ namespace Gtk {
                public RadioMenuItem.with_mnemonic (GLib.SList<Gtk.RadioMenuItem>? group, string label);
                [CCode (has_construct_function = false, type = "GtkWidget*")]
                public RadioMenuItem.with_mnemonic_from_widget (Gtk.RadioMenuItem group, string label);
+               [NoAccessorMethod]
                public Gtk.RadioMenuItem group { set; }
                public virtual signal void group_changed ();
        }
@@ -3371,6 +3372,7 @@ namespace Gtk {
                public void set_group (GLib.SList<Gtk.RadioToolButton> group);
                [CCode (has_construct_function = false, type = "GtkToolItem*")]
                public RadioToolButton.with_stock_from_widget (Gtk.RadioToolButton group, string stock_id);
+               [NoAccessorMethod]
                public Gtk.RadioToolButton group { set; }
        }
        [CCode (cheader_filename = "gtk/gtk.h")]
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index e9c7bf9..0afd0f8 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -4190,6 +4190,7 @@ namespace Gtk {
                public RadioMenuItem.with_mnemonic (GLib.SList<Gtk.RadioMenuItem>? group, string label);
                [CCode (has_construct_function = false, type = "GtkWidget*")]
                public RadioMenuItem.with_mnemonic_from_widget (Gtk.RadioMenuItem? group, string label);
+               [NoAccessorMethod]
                public Gtk.RadioMenuItem group { set; }
                public virtual signal void group_changed ();
        }
@@ -4210,6 +4211,7 @@ namespace Gtk {
                public void set_group (GLib.SList<Gtk.RadioToolButton>? group);
                [CCode (has_construct_function = false, type = "GtkToolItem*")]
                public RadioToolButton.with_stock_from_widget (Gtk.RadioToolButton? group, string stock_id);
+               [NoAccessorMethod]
                public Gtk.RadioToolButton group { set; }
        }
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_range_get_type ()")]
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index 682ec16..3faf000 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -579,11 +579,13 @@ gtk_radio_button_new_*from_widget.radio_group_member nullable="1"
 gtk_radio_button_new_with_label.group nullable="1" type_arguments="RadioButton"
 gtk_radio_button_new_with_mnemonic.group nullable="1" type_arguments="RadioButton"
 gtk_radio_button_set_group.group type_arguments="RadioButton"
+GtkRadioMenuItem:group accessor_method="0"
 gtk_radio_menu_item_get_group type_arguments="RadioMenuItem" nullable="1"
 gtk_radio_menu_item_new.group type_arguments="RadioMenuItem" nullable="1"
 gtk_radio_menu_item_new_with_label.group type_arguments="RadioMenuItem" nullable="1"
 gtk_radio_menu_item_new_with_mnemonic.group type_arguments="RadioMenuItem" nullable="1"
 gtk_radio_menu_item_set_group.group type_arguments="RadioMenuItem" nullable="1"
+GtkRadioToolButton:group accessor_method="0"
 gtk_radio_tool_button_get_group type_arguments="RadioToolButton"
 gtk_radio_tool_button_new.group nullable="1" type_arguments="RadioToolButton"
 gtk_radio_tool_button_new_from_stock.group nullable="1" type_arguments="RadioToolButton"
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index 24f2d96..036a85a 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -1073,6 +1073,7 @@ gtk_radio_button_new_with_label.group nullable="1" type_arguments="RadioButton"
 gtk_radio_button_new_with_mnemonic.group nullable="1" type_arguments="RadioButton"
 gtk_radio_button_join_group.group_source nullable="1"
 gtk_radio_button_set_group.group type_arguments="RadioButton" nullable="1"
+GtkRadioMenuItem:group accessor_method="0"
 gtk_radio_menu_item_get_group type_arguments="RadioMenuItem"
 gtk_radio_menu_item_join_group.group_source nullable="1"
 gtk_radio_menu_item_new.group type_arguments="RadioMenuItem" nullable="1"
@@ -1082,6 +1083,7 @@ gtk_radio_menu_item_new_with_label_from_widget.group nullable="1"
 gtk_radio_menu_item_new_with_mnemonic.group type_arguments="RadioMenuItem" nullable="1"
 gtk_radio_menu_item_new_with_mnemonic_from_widget.group nullable="1"
 gtk_radio_menu_item_set_group.group type_arguments="RadioMenuItem" nullable="1"
+GtkRadioToolButton:group accessor_method="0"
 gtk_radio_tool_button_get_group type_arguments="RadioToolButton" nullable="1"
 gtk_radio_tool_button_new.group nullable="1" type_arguments="RadioToolButton"
 gtk_radio_tool_button_new_from_stock.group nullable="1" type_arguments="RadioToolButton"


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