[vala] gtk+-3.0: Fix gtk_widget_set_window



commit 6b47778eb7d5aba8f0ad742f59f281766666f1d4
Author: Jürg Billeter <j bitron ch>
Date:   Mon May 16 12:56:32 2011 +0200

    gtk+-3.0: Fix gtk_widget_set_window

 vapi/gtk+-3.0.vapi                       |    2 +-
 vapi/packages/gtk+-3.0/gtk+-3.0.metadata |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index 810e7fe..ebddf93 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -5382,7 +5382,7 @@ namespace Gtk {
 		public void set_vexpand_set (bool @set);
 		public void set_visible (bool visible);
 		public void set_visual (Gdk.Visual visual);
-		public void set_window (Gdk.Window window);
+		public void set_window (owned Gdk.Window window);
 		public void shape_combine_region (Cairo.Region region);
 		public virtual void show_all ();
 		public void show_now ();
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index 793f621..eaff11e 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -973,6 +973,7 @@ gtk_widget_get_preferred_width.natural_width is_out="1"
 gtk_widget_get_preferred_width_for_height.minimum_width is_out="1"
 gtk_widget_get_preferred_width_for_height.natural_width is_out="1"
 gtk_widget_new hidden="1"
+gtk_widget_set_window.window transfer_ownership="1"
 GtkWindow::activate_default name="default_activated" experimental="1"
 GtkWindow::activate_focus name="focus_activated" experimental="1"
 GtkWindow::set_focus has_emitter="1"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]