mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-03 18:29:09 +00:00
Fix build of experimental C++ platform API on Linux
This commit is contained in:
parent
7864481dfc
commit
b27163954a
2 changed files with 3 additions and 2 deletions
|
@ -8,6 +8,7 @@
|
|||
#else
|
||||
|
||||
# include "slint.h"
|
||||
# include <utility>
|
||||
|
||||
struct xcb_connection_t;
|
||||
struct wl_surface;
|
||||
|
@ -270,7 +271,7 @@ public:
|
|||
static NativeWindowHandle from_wayland(wl_surface *surface, wl_display *display)
|
||||
{
|
||||
|
||||
return { cbindgen_private::slint_new_raw_window_handle_wayland(surface, display, size) };
|
||||
return { cbindgen_private::slint_new_raw_window_handle_wayland(surface, display) };
|
||||
}
|
||||
|
||||
# elif defined(__APPLE__) && !defined(_WIN32) && !defined(_WIN64)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue