From b0b8046a08a7d4d1cd21b5a0a531d9cfe7167f44 Mon Sep 17 00:00:00 2001 From: Gellule Xg Date: Mon, 27 Jun 2011 20:50:49 -1000 Subject: If GTK built with QUARTZ backend, no need to expect DISPLAY to be set to start the GUI version. Fixed bugs: - https://launchpad.net/bugs/251982 (bzr r10380.1.1) --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.cpp') 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; -- cgit v1.2.3