[vala] libwnck-1.0: Fix WnckScreen and WnckWindow bindings



commit 14383e82378a1eb8b23a7200fc0773ed4b636c8a
Author: Jürg Billeter <j bitron ch>
Date:   Mon Oct 26 18:43:12 2009 +0100

    libwnck-1.0: Fix WnckScreen and WnckWindow bindings

 vapi/libwnck-1.0.vapi                          |    6 +++---
 vapi/packages/libwnck-1.0/libwnck-1.0.metadata |    8 +++++++-
 2 files changed, 10 insertions(+), 4 deletions(-)
---
diff --git a/vapi/libwnck-1.0.vapi b/vapi/libwnck-1.0.vapi
index cbb6207..ada687a 100644
--- a/vapi/libwnck-1.0.vapi
+++ b/vapi/libwnck-1.0.vapi
@@ -122,13 +122,13 @@ namespace Wnck {
 		public bool get_showing_desktop ();
 		public int get_width ();
 		public unowned string get_window_manager_name ();
-		public unowned GLib.List get_windows ();
+		public unowned GLib.List<Wnck.Window> get_windows ();
 		public unowned GLib.List get_windows_stacked ();
 		public unowned Wnck.Workspace get_workspace (int workspace);
 		public int get_workspace_count ();
 		public int get_workspace_index (Wnck.Workspace space);
 		public unowned Wnck.Workspace get_workspace_neighbor (Wnck.Workspace space, Wnck.MotionDirection direction);
-		public unowned GLib.List get_workspaces ();
+		public unowned GLib.List<Wnck.Workspace> get_workspaces ();
 		public void move_viewport (int x, int y);
 		public bool net_wm_supports (string atom);
 		[NoWrapper]
@@ -208,7 +208,7 @@ namespace Wnck {
 		public unowned Wnck.Application get_application ();
 		public unowned Wnck.ClassGroup get_class_group ();
 		public void get_client_window_geometry (int xp, int yp, int widthp, int heightp);
-		public void get_geometry (int xp, int yp, int widthp, int heightp);
+		public void get_geometry (out int xp, out int yp, out int widthp, out int heightp);
 		public ulong get_group_leader ();
 		public unowned Gdk.Pixbuf get_icon ();
 		public bool get_icon_is_fallback ();
diff --git a/vapi/packages/libwnck-1.0/libwnck-1.0.metadata b/vapi/packages/libwnck-1.0/libwnck-1.0.metadata
index 06045dd..3f358e1 100644
--- a/vapi/packages/libwnck-1.0/libwnck-1.0.metadata
+++ b/vapi/packages/libwnck-1.0/libwnck-1.0.metadata
@@ -1,4 +1,10 @@
 Wnck cheader_filename="libwnck/libwnck.h"
 
 WnckScreen::active_window_changed.previous_window nullable="1"
-WnckScreen::active_workspace_changed.previous_workspace nullable="1"
\ No newline at end of file
+WnckScreen::active_workspace_changed.previous_workspace nullable="1"
+wnck_screen_get_windows type_arguments="Window"
+wnck_screen_get_workspaces type_arguments="Workspace"
+wnck_window_get_geometry.xp is_out="1"
+wnck_window_get_geometry.yp is_out="1"
+wnck_window_get_geometry.widthp is_out="1"
+wnck_window_get_geometry.heightp is_out="1"



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