If we don't have gtk on linux, use the Null loading window, don't throw an exception.

This commit is contained in:
Steve Checkoway
2006-03-29 07:01:01 +00:00
parent 94886b6d06
commit 8195572649
+3 -1
View File
@@ -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<RString> DriversToTry;