]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-2.0: Make Gtk.Window's arg default value Gtk.WindowType.TOPLEVEL
authorEvan Nemerson <evan@coeus-group.com>
Fri, 2 Apr 2010 18:42:26 +0000 (11:42 -0700)
committerEvan Nemerson <evan@coeus-group.com>
Fri, 2 Apr 2010 18:42:26 +0000 (11:42 -0700)
vapi/gtk+-2.0.vapi
vapi/packages/gtk+-2.0/gtk+-2.0.metadata

index 1c7cebcb44d642b6ebed324dd4c39768a8929cca..df059f22d84bb440026e6a0a0431bb445e1cb5aa 100644 (file)
@@ -5512,7 +5512,7 @@ namespace Gtk {
                public weak string wmclass_class;
                public weak string wmclass_name;
                [CCode (type = "GtkWidget*", has_construct_function = false)]
-               public Window (Gtk.WindowType type);
+               public Window (Gtk.WindowType type = Gtk.WindowType.TOPLEVEL);
                public bool activate_default ();
                public bool activate_focus ();
                public bool activate_key (Gdk.EventKey event);
index aa81923e08216bde76ca6f08d1eebe7e4ffb3b5b..1ccbbf7761b00f6bfa444c5bfd3c6d25d18f0c25 100644 (file)
@@ -798,6 +798,7 @@ gtk_window_is_active hidden="1" experimental="1"
 gtk_window_list_toplevels transfer_ownership="1" type_arguments="unowned Window"
 gtk_window_set_default_icon_list.list type_arguments="Gdk.Pixbuf"
 gtk_window_set_icon_list.list type_arguments="Gdk.Pixbuf"
+gtk_window_new.type default_value="Gtk.WindowType.TOPLEVEL"
 gtk_widget_new hidden="1"
 GtkWindow::activate_default name="default_activated" experimental="1"
 GtkWindow::activate_focus name="focus_activated" experimental="1"