]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
libwnck-1.0: Fix WnckScreen and WnckWindow bindings
authorJürg Billeter <j@bitron.ch>
Mon, 26 Oct 2009 17:43:12 +0000 (18:43 +0100)
committerJürg Billeter <j@bitron.ch>
Mon, 26 Oct 2009 17:43:12 +0000 (18:43 +0100)
vapi/libwnck-1.0.vapi
vapi/packages/libwnck-1.0/libwnck-1.0.metadata

index cbb620783e712ed9cb4724d5cb63452b4804ec78..ada687ac8856df740c414e9e230dcf2a70226909 100644 (file)
@@ -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 ();
index 06045dd58c70af412e192312a3ef27e9399ac295..3f358e1a7249c9722d1af22594c78c06027d8d61 100644 (file)
@@ -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"