[vala] gtk+-2.0, gtk+-3.0: Mark Button.set_label parameter as nullable



commit a0bfe67bc7601cfcd83383d4c7f715ec964822ef
Author: Luca Bruno <lucabru src gnome org>
Date:   Tue Jan 31 10:23:52 2012 +0100

    gtk+-2.0, gtk+-3.0: Mark Button.set_label parameter as nullable
    
    Fixes bug 669058.

 vapi/gtk+-2.0.vapi                       |    2 +-
 vapi/gtk+-3.0.vapi                       |    2 +-
 vapi/packages/gtk+-2.0/gtk+-2.0.metadata |    1 +
 vapi/packages/gtk+-3.0/gtk+-3.0.metadata |    1 +
 4 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index b5d3c5c..28e9154 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -706,7 +706,7 @@ namespace Gtk {
 		public void set_focus_on_click (bool focus_on_click);
 		public void set_image (Gtk.Widget image);
 		public void set_image_position (Gtk.PositionType position);
-		public void set_label (string label);
+		public void set_label (string? label);
 		public void set_relief (Gtk.ReliefStyle newstyle);
 		public void set_use_stock (bool use_stock);
 		public void set_use_underline (bool use_underline);
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index d76f557..3eb839b 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -749,7 +749,7 @@ namespace Gtk {
 		public void set_focus_on_click (bool focus_on_click);
 		public void set_image (Gtk.Widget image);
 		public void set_image_position (Gtk.PositionType position);
-		public void set_label (string label);
+		public void set_label (string? label);
 		public void set_relief (Gtk.ReliefStyle newstyle);
 		public void set_use_stock (bool use_stock);
 		public void set_use_underline (bool use_underline);
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index b91ed3b..223705b 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -86,6 +86,7 @@ GtkBuilderConnectFunc.connect_object nullable="1"
 GtkBuilderError errordomain="1"
 gtk_button_get_alignment.xalign is_out="1"
 gtk_button_get_alignment.yalign is_out="1"
+gtk_button_set_label.label nullable="1"
 GtkButton::clicked has_emitter="1"
 GtkButton::enter has_emitter="1"
 GtkButton::leave has_emitter="1"
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index 31d1e1c..e5b835f 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -93,6 +93,7 @@ GtkBuilderConnectFunc.connect_object nullable="1"
 GtkBuilderError errordomain="1"
 gtk_button_get_alignment.xalign is_out="1"
 gtk_button_get_alignment.yalign is_out="1"
+gtk_button_set_label.label nullable="1"
 GtkButton::clicked has_emitter="1"
 GtkButton::enter has_emitter="1"
 GtkButton::leave has_emitter="1"



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