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



commit daf7aa1ab071f7c15939518c0df1e3a3223c3a07
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 918abd9..ea845fd 100644
--- a/vapi/gtk+-4.0.vapi
+++ b/vapi/gtk+-4.0.vapi
@@ -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; }
        }
diff --git a/vapi/metadata/Gtk-4.0.metadata b/vapi/metadata/Gtk-4.0.metadata
index 8f7c65f..c359e69 100644
--- a/vapi/metadata/Gtk-4.0.metadata
+++ b/vapi/metadata/Gtk-4.0.metadata
@@ -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


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