[vala/0.12] gdk-2.0, gdk-3.0: Mark Window.get_root_coords parameters to be out



commit 2130ec6086a4fedfe90c7fef7458bb9ed9f99cf6
Author: Daniel Svensson <dsvensson gmail com>
Date:   Sat Apr 23 12:20:48 2011 +0200

    gdk-2.0, gdk-3.0: Mark Window.get_root_coords parameters to be out
    
    Fixes bug 648505.

 vapi/gdk-2.0.vapi                      |    2 +-
 vapi/gdk-3.0.vapi                      |    2 +-
 vapi/packages/gdk-2.0/gdk-2.0.metadata |    2 ++
 vapi/packages/gdk-3.0/gdk-3.0.metadata |    2 ++
 4 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gdk-2.0.vapi b/vapi/gdk-2.0.vapi
index 7b0130d..e89808e 100644
--- a/vapi/gdk-2.0.vapi
+++ b/vapi/gdk-2.0.vapi
@@ -636,7 +636,7 @@ namespace Gdk {
 		public unowned Gdk.Window get_parent ();
 		public unowned Gdk.Window get_pointer (out int x, out int y, out Gdk.ModifierType mask);
 		public void get_position (out int x, out int y);
-		public void get_root_coords (int x, int y, int root_x, int root_y);
+		public void get_root_coords (int x, int y, out int root_x, out int root_y);
 		public void get_root_origin (out int x, out int y);
 		public Gdk.WindowState get_state ();
 		public unowned Gdk.Window get_toplevel ();
diff --git a/vapi/gdk-3.0.vapi b/vapi/gdk-3.0.vapi
index 37fe483..0199ead 100644
--- a/vapi/gdk-3.0.vapi
+++ b/vapi/gdk-3.0.vapi
@@ -355,7 +355,7 @@ namespace Gdk {
 		public unowned Gdk.Window get_parent ();
 		public unowned Gdk.Window get_pointer (out int x, out int y, out Gdk.ModifierType mask);
 		public void get_position (out int x, out int y);
-		public void get_root_coords (int x, int y, int root_x, int root_y);
+		public void get_root_coords (int x, int y, out int root_x, out int root_y);
 		public void get_root_origin (out int x, out int y);
 		public unowned Gdk.Screen get_screen ();
 		public Gdk.EventMask get_source_events (Gdk.InputSource source);
diff --git a/vapi/packages/gdk-2.0/gdk-2.0.metadata b/vapi/packages/gdk-2.0/gdk-2.0.metadata
index 8ad5509..df5140b 100644
--- a/vapi/packages/gdk-2.0/gdk-2.0.metadata
+++ b/vapi/packages/gdk-2.0/gdk-2.0.metadata
@@ -161,6 +161,8 @@ gdk_window_get_pointer.y is_out="1"
 gdk_window_get_pointer.mask is_out="1"
 gdk_window_get_position.x is_out="1"
 gdk_window_get_position.y is_out="1"
+gdk_window_get_root_coords.root_x is_out="1"
+gdk_window_get_root_coords.root_y is_out="1"
 gdk_window_get_root_origin.x is_out="1"
 gdk_window_get_root_origin.y is_out="1"
 gdk_window_invalidate_rect.rect nullable="1"
diff --git a/vapi/packages/gdk-3.0/gdk-3.0.metadata b/vapi/packages/gdk-3.0/gdk-3.0.metadata
index 8b678e8..65c7a5c 100644
--- a/vapi/packages/gdk-3.0/gdk-3.0.metadata
+++ b/vapi/packages/gdk-3.0/gdk-3.0.metadata
@@ -161,6 +161,8 @@ gdk_window_get_pointer.y is_out="1"
 gdk_window_get_pointer.mask is_out="1"
 gdk_window_get_position.x is_out="1"
 gdk_window_get_position.y is_out="1"
+gdk_window_get_root_coords.root_x is_out="1"
+gdk_window_get_root_coords.root_y is_out="1"
 gdk_window_get_root_origin.x is_out="1"
 gdk_window_get_root_origin.y is_out="1"
 gdk_window_invalidate_rect.rect nullable="1"



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