summaryrefslogtreecommitdiff
path: root/applets/notification_area/na-grid.h
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/notification_area/na-grid.h
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/notification_area/na-grid.h')
-rw-r--r--applets/notification_area/na-grid.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/applets/notification_area/na-grid.h b/applets/notification_area/na-grid.h
index 9c8dd340..0506c3ec 100644
--- a/applets/notification_area/na-grid.h
+++ b/applets/notification_area/na-grid.h
@@ -31,6 +31,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 <gtk/gtk.h>
G_BEGIN_DECLS