From: Jürg Billeter Date: Mon, 26 Oct 2009 17:43:12 +0000 (+0100) Subject: libwnck-1.0: Fix WnckScreen and WnckWindow bindings X-Git-Tag: 0.7.8~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14383e82378a1eb8b23a7200fc0773ed4b636c8a;p=thirdparty%2Fvala.git libwnck-1.0: Fix WnckScreen and WnckWindow bindings --- diff --git a/vapi/libwnck-1.0.vapi b/vapi/libwnck-1.0.vapi index cbb620783..ada687ac8 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 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 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 06045dd58..3f358e1a7 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"