]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-2.0: Mark gtk_layout_new parameters nullable.
authorLuca Bruno <lucabru@src.gnome.org>
Sat, 15 Jan 2011 10:26:58 +0000 (11:26 +0100)
committerJürg Billeter <j@bitron.ch>
Sat, 22 Jan 2011 10:04:56 +0000 (11:04 +0100)
Fixes bug 639156.

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

index c7efc365f5a607c3368a6f8b67ed757370f550a2..e843621e501c4318fb92597fe1bcb2fb00672fe6 100644 (file)
@@ -2259,7 +2259,7 @@ namespace Gtk {
                public int scroll_y;
                public Gdk.VisibilityState visibility;
                [CCode (type = "GtkWidget*", has_construct_function = false)]
-               public Layout (Gtk.Adjustment hadjustment, Gtk.Adjustment vadjustment);
+               public Layout (Gtk.Adjustment? hadjustment = null, Gtk.Adjustment? vadjustment = null);
                public unowned Gdk.Window get_bin_window ();
                public unowned Gtk.Adjustment get_hadjustment ();
                public void get_size (out uint width, out uint height);
index c7ace4d60d8f9c84a826ac5467213e316f01d0bc..a1d2b1fc587705806a4a38c071e68477b856725b 100644 (file)
@@ -261,6 +261,8 @@ GtkList::unselect_child has_emitter="1"
 GtkLayout.children type_arguments="Widget"
 gtk_layout_get_size.width is_out="1"
 gtk_layout_get_size.height is_out="1"
+gtk_layout_new.hadjustment nullable="1" default_value="null"
+gtk_layout_new.vadjustment nullable="1" default_value="null"
 gtk_list_store_new ellipsis="1" sentinel=""
 gtk_list_store_newv.n_columns hidden="1"
 gtk_list_store_newv.types array_length_pos="0.9"