From d68c23bd8e07612f305dcc7825f3a8ee448544f5 Mon Sep 17 00:00:00 2001 From: "mark.herbert" Date: Fri, 18 Jul 2025 11:42:38 +0300 Subject: Wayland-only-build attempt 3 - changes from other branch removed --- libmate-panel-applet/mate-panel-applet.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libmate-panel-applet/mate-panel-applet.c') diff --git a/libmate-panel-applet/mate-panel-applet.c b/libmate-panel-applet/mate-panel-applet.c index 48e12622..897f1726 100644 --- a/libmate-panel-applet/mate-panel-applet.c +++ b/libmate-panel-applet/mate-panel-applet.c @@ -45,6 +45,10 @@ #include #include "panel-plug-private.h" #endif +#ifndef HAVE_X11 +#include +#define GDK_IS_X11_DISPLAY(object) !(G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_WAYLAND_DISPLAY)) +#endif #include "mate-panel-applet.h" #include "panel-applet-private.h" -- cgit v1.2.1