]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-2.0, gtk+-3.0: Mark gtk_layout_new parameters nullable.
authorLuca Bruno <lucabru@src.gnome.org>
Sat, 15 Jan 2011 10:26:58 +0000 (11:26 +0100)
committerLuca Bruno <lucabru@src.gnome.org>
Sat, 15 Jan 2011 10:28:31 +0000 (11:28 +0100)
Fixes bug 639156.

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 a7901bcb5d1ce954a5fd06cb9789abe969f711d0..b968ab1d3991a0e60d2dddaf84518b660682104b 100644 (file)
@@ -2480,7 +2480,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 3956224db3c835e101ebeac9239a815c11e6346e..a3ec805f822d6a6c66e803f4a017cf76b7e6b432 100644 (file)
@@ -2292,7 +2292,7 @@ namespace Gtk {
        [CCode (cheader_filename = "gtk/gtk.h")]
        public class Layout : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
                [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 605900aebf6e1ebebb23824ca05f003fd4905d68..975683497a6163ccf01effc93ff5acfe61cd8312 100644 (file)
@@ -265,6 +265,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"
index f8b1a922c93f2f89bec124be324eca028552ad63..7f3999a464f8cbfb78ad61bb2327c4553e5fb17d 100644 (file)
@@ -276,6 +276,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"