diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2018-04-14 00:59:36 +0200 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2018-04-14 01:05:33 +0200 |
commit | 9cc7fa55e47f4064889139abde739e886759f686 (patch) | |
tree | eaf0b1ea9f793fce66eee0730f54c876c706fa83 | |
parent | dbc8b1a3d6a5aaa7a682d09eb533752e9e2ef0b1 (diff) | |
download | vala-9cc7fa55e47f4064889139abde739e886759f686.tar.gz |
gtk+-*.0: Set NoAccessorMethod on Gtk.Radio*.group properties
The type of get/set_group() doesn't match the property type.
-rw-r--r-- | vapi/gtk+-3.0.vapi | 4 | ||||
-rw-r--r-- | vapi/gtk+-4.0.vapi | 3 | ||||
-rw-r--r-- | vapi/metadata/Gtk-3.0.metadata | 3 | ||||
-rw-r--r-- | vapi/metadata/Gtk-4.0.metadata | 3 |
4 files changed, 13 insertions, 0 deletions
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi index e21b0fd36..2037f316f 100644 --- a/vapi/gtk+-3.0.vapi +++ b/vapi/gtk+-3.0.vapi @@ -6041,6 +6041,7 @@ namespace Gtk { public void set_group (GLib.SList<Gtk.RadioAction>? group); [Version (since = "2.10")] public int current_value { get; set; } + [NoAccessorMethod] [Version (since = "2.4")] public Gtk.RadioAction group { set; } [NoAccessorMethod] @@ -6067,6 +6068,7 @@ namespace Gtk { public RadioButton.with_mnemonic (GLib.SList<Gtk.RadioButton>? group, string label); [CCode (has_construct_function = false, type = "GtkWidget*")] public RadioButton.with_mnemonic_from_widget (Gtk.RadioButton? radio_group_member, string label); + [NoAccessorMethod] public Gtk.RadioButton group { set; } [Version (since = "2.4")] public virtual signal void group_changed (); @@ -6097,6 +6099,7 @@ namespace Gtk { [CCode (has_construct_function = false, type = "GtkWidget*")] [Version (since = "2.4")] public RadioMenuItem.with_mnemonic_from_widget (Gtk.RadioMenuItem? group, string? label); + [NoAccessorMethod] [Version (since = "2.8")] public Gtk.RadioMenuItem group { set; } public virtual signal void group_changed (); @@ -6124,6 +6127,7 @@ namespace Gtk { [CCode (has_construct_function = false, type = "GtkToolItem*")] [Version (deprecated = true, deprecated_since = "3.10", since = "2.4")] public RadioToolButton.with_stock_from_widget (Gtk.RadioToolButton? group, string stock_id); + [NoAccessorMethod] [Version (since = "2.4")] public Gtk.RadioToolButton group { set; } } diff --git a/vapi/gtk+-4.0.vapi b/vapi/gtk+-4.0.vapi index b80896d01..3f6f82d84 100644 --- a/vapi/gtk+-4.0.vapi +++ b/vapi/gtk+-4.0.vapi @@ -9702,6 +9702,7 @@ namespace Gtk { public RadioButton.with_mnemonic (GLib.SList<Gtk.RadioButton>? group, string label); [CCode (has_construct_function = false, type = "GtkWidget*")] public RadioButton.with_mnemonic_from_widget (Gtk.RadioButton? radio_group_member, string label); + [NoAccessorMethod] public Gtk.RadioButton group { set; } public virtual signal void group_changed (); } @@ -9727,6 +9728,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 (); } @@ -9743,6 +9745,7 @@ namespace Gtk { public RadioToolButton.from_widget (Gtk.RadioToolButton? group); public unowned GLib.SList<Gtk.RadioButton> get_group (); public void set_group (GLib.SList<Gtk.RadioButton>? group); + [NoAccessorMethod] public Gtk.RadioToolButton group { set; } } [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_range_get_type ()")] diff --git a/vapi/metadata/Gtk-3.0.metadata b/vapi/metadata/Gtk-3.0.metadata index 008c20d9f..4e36d12f5 100644 --- a/vapi/metadata/Gtk-3.0.metadata +++ b/vapi/metadata/Gtk-3.0.metadata @@ -360,6 +360,9 @@ RecentFilterInfo // Bug #: element-type properties Settings.color_hash type="GLib.HashTable<string,Gdk.Color>" +// Bug #: confused girparser +Radio*.group#property no_accessor_method + // Skipped for G-I, but usable from Vala FlowBox .bind_model skip=false diff --git a/vapi/metadata/Gtk-4.0.metadata b/vapi/metadata/Gtk-4.0.metadata index 2dfd0e22f..81f60f088 100644 --- a/vapi/metadata/Gtk-4.0.metadata +++ b/vapi/metadata/Gtk-4.0.metadata @@ -216,6 +216,9 @@ RecentData .display_name nullable .description nullable +// Bug #: confused girparser +Radio*.group#property no_accessor_method + // Skipped for G-I, but usable from Vala FlowBox .bind_model skip=false |