summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util.c b/src/util.c
index d63aeca..23ba3ab 100644
--- a/src/util.c
+++ b/src/util.c
@@ -45,6 +45,10 @@
#define ZENITY_ERROR_DEFAULT -1
#define ZENITY_EXTRA_DEFAULT 127
+#if defined(GDK_WINDOWING_X11) && !defined(GDK_IS_X11_DISPLAY)
+#define GDK_IS_X11_DISPLAY(display) 1
+#endif
+
GtkBuilder*
zenity_util_load_ui_file (const gchar *root_widget, ...)
{