[vala/0.36: 211/212] gtk+-4.0: Set NoAccessorMethod on Gtk.Radio*.group properties



commit 8603f85e53eb7e416358b8c3daa856be3e813ea9
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sat Apr 14 00:59:36 2018 +0200

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

 vapi/gtk+-4.0.vapi             |    3 +++
 vapi/metadata/Gtk-4.0.metadata |    3 +++
 2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/vapi/gtk+-4.0.vapi b/vapi/gtk+-4.0.vapi
index 9b2c8f5..4219a25 100644
--- a/vapi/gtk+-4.0.vapi
+++ b/vapi/gtk+-4.0.vapi
@@ -11724,6 +11724,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 ();
@@ -11754,6 +11755,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 ();
@@ -11775,6 +11777,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; }
        }
diff --git a/vapi/metadata/Gtk-4.0.metadata b/vapi/metadata/Gtk-4.0.metadata
index 5786da0..4635344 100644
--- a/vapi/metadata/Gtk-4.0.metadata
+++ b/vapi/metadata/Gtk-4.0.metadata
@@ -237,6 +237,9 @@ RecentFilterInfo
   .applications nullable
   .groups nullable
 
+// Bug #: confused girparser
+Radio*.group#property no_accessor_method
+
 // Skipped for G-I, but usable from Vala
 Clipboard
   .get_selection skip=false


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