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 --- applets/clock/clock.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'applets/clock/clock.c') diff --git a/applets/clock/clock.c b/applets/clock/clock.c index 14080500..cc5ea999 100644 --- a/applets/clock/clock.c +++ b/applets/clock/clock.c @@ -60,6 +60,11 @@ #include #endif +#ifndef HAVE_X11 +#include +#define GDK_IS_X11_DISPLAY(object) !(G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_WAYLAND_DISPLAY)) +#endif + #include #include #include -- cgit v1.2.1