meta: Don't #include <wayland-*> in public headers

It's not required to define `struct wl_display` and having it in a public
header is breaking the g-ir-scanner because Wayland headers use the
non-standard keyword `__typeof__`.

Fixes: https://gitlab.gnome.org/GNOME/mutter/-/issues/2875
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3098>
This commit is contained in:
Daniel van Vugt 2023-06-28 14:43:34 +08:00 committed by Marge Bot
parent ab4c415d6e
commit 1dbf37239f

View File

@ -22,7 +22,6 @@
#include <glib-object.h>
#include <gio/gio.h>
#include <wayland-server.h>
#include "meta/meta-context.h"