diff options
Diffstat (limited to 'applets/notification_area/na-grid.h')
| -rw-r--r-- | applets/notification_area/na-grid.h | 5 |
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 |
