]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-2.0, gtk+-3.0: Mark Button.set_label parameter as nullable
authorLuca Bruno <lucabru@src.gnome.org>
Tue, 31 Jan 2012 09:23:52 +0000 (10:23 +0100)
committerLuca Bruno <lucabru@src.gnome.org>
Tue, 31 Jan 2012 09:23:52 +0000 (10:23 +0100)
Fixes bug 669058.

vapi/gtk+-2.0.vapi
vapi/gtk+-3.0.vapi
vapi/packages/gtk+-2.0/gtk+-2.0.metadata
vapi/packages/gtk+-3.0/gtk+-3.0.metadata

index b5d3c5c30d10bf12fc3e4d54c2a6d116852faa94..28e9154a50eba460bf336c293f13edd32b16ef59 100644 (file)
@@ -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);
index d76f5572b86983adcd6434f93c3456fc7b8ccde0..3eb839b1923a5d35089264159215caada4446ff0 100644 (file)
@@ -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);
index b91ed3b69ddb49f3922347a436c7948e1a247565..223705b7b0b19d248bb2802c628c5f5efecc915b 100644 (file)
@@ -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"
index 31d1e1c6041ba905d15bec3b41dd5062a88f15d5..e5b835f0a8b6e810fef6140dd135ae71bfcfec07 100644 (file)
@@ -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"