[vala/0.18] gtk+-2.0, gtk+-3.0: make RadioButton radio_group_member args nullable



commit 70df7157af8ac22987d9b70d634a1af116849a10
Author: Evan Nemerson <evan coeus-group com>
Date:   Sun Oct 21 17:39:45 2012 -0700

    gtk+-2.0, gtk+-3.0: make RadioButton radio_group_member args nullable

 vapi/gtk+-2.0.vapi                       |    6 +++---
 vapi/gtk+-3.0.vapi                       |    6 +++---
 vapi/packages/gtk+-2.0/gtk+-2.0.metadata |    1 +
 vapi/packages/gtk+-3.0/gtk+-3.0.metadata |    1 +
 4 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index dde4060..6db4934 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -3261,17 +3261,17 @@ namespace Gtk {
 		[CCode (has_construct_function = false, type = "GtkWidget*")]
 		public RadioButton (GLib.SList<Gtk.RadioButton>? group);
 		[CCode (has_construct_function = false, type = "GtkWidget*")]
-		public RadioButton.from_widget (Gtk.RadioButton radio_group_member);
+		public RadioButton.from_widget (Gtk.RadioButton? radio_group_member);
 		public unowned GLib.SList<Gtk.RadioButton> get_group ();
 		public void set_group (GLib.SList<Gtk.RadioButton> group);
 		[CCode (has_construct_function = false, type = "GtkWidget*")]
 		public RadioButton.with_label (GLib.SList<Gtk.RadioButton>? group, string label);
 		[CCode (has_construct_function = false, type = "GtkWidget*")]
-		public RadioButton.with_label_from_widget (Gtk.RadioButton radio_group_member, string label);
+		public RadioButton.with_label_from_widget (Gtk.RadioButton? radio_group_member, string label);
 		[CCode (has_construct_function = false, type = "GtkWidget*")]
 		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);
+		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 ();
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index edc748f..86a3039 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -3334,18 +3334,18 @@ namespace Gtk {
 		[CCode (has_construct_function = false, type = "GtkWidget*")]
 		public RadioButton (GLib.SList<Gtk.RadioButton>? group);
 		[CCode (has_construct_function = false, type = "GtkWidget*")]
-		public RadioButton.from_widget (Gtk.RadioButton radio_group_member);
+		public RadioButton.from_widget (Gtk.RadioButton? radio_group_member);
 		public unowned GLib.SList<Gtk.RadioButton> get_group ();
 		public void join_group (Gtk.RadioButton group_source);
 		public void set_group (GLib.SList<Gtk.RadioButton> group);
 		[CCode (has_construct_function = false, type = "GtkWidget*")]
 		public RadioButton.with_label (GLib.SList<Gtk.RadioButton>? group, string label);
 		[CCode (has_construct_function = false, type = "GtkWidget*")]
-		public RadioButton.with_label_from_widget (Gtk.RadioButton radio_group_member, string label);
+		public RadioButton.with_label_from_widget (Gtk.RadioButton? radio_group_member, string label);
 		[CCode (has_construct_function = false, type = "GtkWidget*")]
 		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);
+		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 ();
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index 6ea385a..d15d6b0 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -469,6 +469,7 @@ GtkRadioActionEntry is_value_type="1"
 GtkRadioButton:group accessor_method="0"
 gtk_radio_button_get_group type_arguments="RadioButton"
 gtk_radio_button_new.group nullable="1" type_arguments="RadioButton"
+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"
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index af19b35..697f2bb 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -587,6 +587,7 @@ GtkRadioButton:group accessor_method="0"
 GtkRcStyle deprecated_since="3.0" replacement="CssProvider"
 gtk_radio_button_get_group type_arguments="RadioButton"
 gtk_radio_button_new.group nullable="1" type_arguments="RadioButton"
+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"



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