summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 26774fd66..1614e97f7 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -641,7 +641,7 @@ main(int argc, char **argv)
gboolean use_gui;
-#ifndef WIN32
+#if !defined(WIN32) && !defined(GDK_WINDOWING_QUARTZ)
use_gui = (g_getenv("DISPLAY") != NULL);
#else
use_gui = TRUE;