[vala/tintou/wayland-client: 9/9] fix some errors




commit dfff63bb4bc753a0e2b8245506d751fe6be67e8b
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sat Apr 16 16:52:11 2022 +0200

    fix some errors

 vapi/wayland-client.vapi | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/vapi/wayland-client.vapi b/vapi/wayland-client.vapi
index 110ee47df..8bcea2cee 100644
--- a/vapi/wayland-client.vapi
+++ b/vapi/wayland-client.vapi
@@ -66,7 +66,7 @@ namespace Wl {
        }
 
        [Compact]
-       [CCode (cname = "struct wl_surface", free_function = "wl_callback_destroy")]
+       [CCode (cname = "struct wl_callback", free_function = "wl_callback_destroy")]
        public class Callback {
                public int add_listener (Wl.CallbackListener listener, void* data);
                public void set_user_data (void* user_data);
@@ -207,7 +207,6 @@ namespace Wl {
                public void set_user_data (void* user_data);
                public void* get_user_data ();
                public uint32 get_version ();
-               public Wl.ShellSurface get_shell_surface (Wl.Surface surface);
                public void pong (uint32 serial);
                public void move (Wl.Seat seat, uint32 serial);
                public void resize (Wl.Seat seat, uint32 serial, uint32 edges);
@@ -215,7 +214,7 @@ namespace Wl {
                public void set_transient (Wl.Surface surface, int32 x, int32 y, uint32 flags);
                public void set_fullscreen (uint32 method, uint32 framerate, Wl.Output output);
                public void set_popup (Wl.Seat seat, uint32 serial, Wl.Surface parent, int32 x, int32 y, 
uint32 flags);
-               public void set_maximized (uint32 method, uint32 framerate, Wl.Output output);
+               public void set_maximized (Wl.Output output);
                public void set_title (string title);
                public void set_class (string class_);
        }


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