From 8195572649b664ea4888cf7a029c8c9b60aca32c Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Wed, 29 Mar 2006 07:01:01 +0000 Subject: [PATCH] If we don't have gtk on linux, use the Null loading window, don't throw an exception. --- stepmania/src/arch/arch.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stepmania/src/arch/arch.cpp b/stepmania/src/arch/arch.cpp index 09fc62febc..4b2645861b 100644 --- a/stepmania/src/arch/arch.cpp +++ b/stepmania/src/arch/arch.cpp @@ -100,7 +100,9 @@ LoadingWindow *MakeLoadingWindow() { if( !PREFSMAN->m_bShowLoadingWindow ) return new LoadingWindow_Null; - +#if defined(LINUX) && !defined(HAVE_GTK) + return new LoadingWindow_Null; +#endif /* Don't load NULL by default. */ const RString drivers = "xbox,win32,cocoa,gtk"; vector DriversToTry;