summaryrefslogtreecommitdiff
path: root/applets/clock
diff options
context:
space:
mode:
authormark.herbert <[email protected]>2025-07-18 11:42:38 +0300
committerlukefromdc <[email protected]>2025-09-04 10:12:14 -0400
commitd68c23bd8e07612f305dcc7825f3a8ee448544f5 (patch)
treea0de3e3b98337639b75279a1d58ea52b276d82bb /applets/clock
parent7867d2d5888f48369bc34c1182d5171c4c224b13 (diff)
downloadmate-panel-d68c23bd8e07612f305dcc7825f3a8ee448544f5.tar.bz2
mate-panel-d68c23bd8e07612f305dcc7825f3a8ee448544f5.tar.xz
Wayland-only-build attempt 3 - changes from other branch removed
Diffstat (limited to 'applets/clock')
-rw-r--r--applets/clock/clock.c5
1 files changed, 5 insertions, 0 deletions
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 <gdk/gdkx.h>
#endif
+#ifndef HAVE_X11
+#include <gdk/gdkwayland.h>
+#define GDK_IS_X11_DISPLAY(object) !(G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_WAYLAND_DISPLAY))
+#endif
+
#include <libmateweather/mateweather-prefs.h>
#include <libmateweather/location-entry.h>
#include <libmateweather/timezone-menu.h>