From 1acdbae0b3796b43f5348ae826fd2ff1f36bc973 Mon Sep 17 00:00:00 2001 From: Evan Nemerson Date: Fri, 2 Apr 2010 11:42:26 -0700 Subject: [PATCH] gtk+-2.0: Make Gtk.Window's arg default value Gtk.WindowType.TOPLEVEL --- vapi/gtk+-2.0.vapi | 2 +- vapi/packages/gtk+-2.0/gtk+-2.0.metadata | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi index 1c7cebcb4..df059f22d 100644 --- a/vapi/gtk+-2.0.vapi +++ b/vapi/gtk+-2.0.vapi @@ -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); diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata index aa81923e0..1ccbbf776 100644 --- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata +++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata @@ -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" -- 2.47.2