[vala] gtk+-2.0: Make Gtk.Window's arg default value Gtk.WindowType.TOPLEVEL
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gtk+-2.0: Make Gtk.Window's arg default value Gtk.WindowType.TOPLEVEL
- Date: Fri, 2 Apr 2010 18:44:16 +0000 (UTC)
commit 1acdbae0b3796b43f5348ae826fd2ff1f36bc973
Author: Evan Nemerson <evan coeus-group com>
Date: Fri Apr 2 11:42:26 2010 -0700
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 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index 1c7cebc..df059f2 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 aa81923..1ccbbf7 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"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]