]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-4.0: Set NoAccessorMethod on Gtk.Radio*.group properties
authorRico Tzschichholz <ricotz@ubuntu.com>
Fri, 13 Apr 2018 22:59:36 +0000 (00:59 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 14 Apr 2018 07:10:19 +0000 (09:10 +0200)
The type of get/set_group() doesn't match the property type.

vapi/gtk+-4.0.vapi
vapi/metadata/Gtk-4.0.metadata

index 918abd97a59e2f0ca42f87377af7a7206c7ab94d..ea845fd0316c6d6e59ace50180f2422efb80498e 100644 (file)
@@ -11510,6 +11510,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 ();
@@ -11540,6 +11541,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 ();
@@ -11561,6 +11563,7 @@ namespace Gtk {
                public unowned GLib.SList<Gtk.RadioButton> get_group ();
                [Version (since = "2.4")]
                public void set_group (GLib.SList<Gtk.RadioButton>? group);
+               [NoAccessorMethod]
                [Version (since = "2.4")]
                public Gtk.RadioToolButton group { set; }
        }
index 8f7c65feb5757be320d8111f761f5b54e7ce99f6..c359e69fea92063b54c2d5443698eba92c2572bc 100644 (file)
@@ -231,6 +231,9 @@ RecentFilterInfo
   .applications nullable
   .groups nullable
 
+// Bug #: confused girparser
+Radio*.group#property no_accessor_method
+
 // Skipped for G-I, but usable from Vala
 FlowBox
   .bind_model skip=false