]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-2.0: set default values for Gtk.Box.pack_start and end arguments
authorEvan Nemerson <evan@coeus-group.com>
Fri, 21 May 2010 06:37:14 +0000 (23:37 -0700)
committerEvan Nemerson <evan@coeus-group.com>
Fri, 21 May 2010 06:37:14 +0000 (23:37 -0700)
vapi/gtk+-2.0.vapi
vapi/packages/gtk+-2.0/gtk+-2.0.metadata

index 83904e0a23bfd348f4719ce34f823a13baad2d02..5557352af19dcac6476b9927291ee584d4e66668 100644 (file)
@@ -401,8 +401,8 @@ namespace Gtk {
                public weak GLib.List<Gtk.Widget> children;
                public bool get_homogeneous ();
                public int get_spacing ();
-               public void pack_end (Gtk.Widget child, bool expand, bool fill, uint padding);
-               public void pack_start (Gtk.Widget child, bool expand, bool fill, uint padding);
+               public void pack_end (Gtk.Widget child, bool expand = true, bool fill = true, uint padding = 0);
+               public void pack_start (Gtk.Widget child, bool expand = true, bool fill = true, uint padding = 0);
                public void query_child_packing (Gtk.Widget child, out bool expand, out bool fill, out uint padding, out Gtk.PackType pack_type);
                public void reorder_child (Gtk.Widget child, int position);
                public void set_child_packing (Gtk.Widget child, bool expand, bool fill, uint padding, Gtk.PackType pack_type);
index 93acd5a19b16afa201a9d98378aa7b349fbc6dda..02b1f793e3bd894fdac14d49ffd66028cd965533 100644 (file)
@@ -57,6 +57,12 @@ GtkBindingSet.widget_class_pspecs hidden="1"
 GtkBindingSet.widget_path_pspecs hidden="1"
 GtkBorder is_value_type="1"
 GtkBox.children type_arguments="Widget"
+gtk_box_pack_start.expand default_value="true"
+gtk_box_pack_start.fill default_value="true"
+gtk_box_pack_start.padding default_value="0"
+gtk_box_pack_end.expand default_value="true"
+gtk_box_pack_end.fill default_value="true"
+gtk_box_pack_end.padding default_value="0"
 gtk_box_query_child_packing.expand is_out="1"
 gtk_box_query_child_packing.fill is_out="1"
 gtk_box_query_child_packing.padding is_out="1"