[vala/0.12] gtk+-3.0: Fix gtk_widget_set_window



commit fa31badf74d2ddf91eac674685f06efebeeb7151
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 19c18d5..6573963 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -5393,7 +5393,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 0ea2df3..4020826 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -950,6 +950,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]