LoadingWindow_Gtk almost sort of halfway works, in a manner of speaking.
This commit is contained in:
@@ -52,7 +52,6 @@
|
||||
/* This is also a global class; we own it. */
|
||||
ArchHooks *HOOKS = NULL;
|
||||
|
||||
|
||||
#ifdef WIN32
|
||||
|
||||
#ifdef DEBUG
|
||||
@@ -65,6 +64,10 @@ HWND g_hWndMain = NULL;
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_GTK
|
||||
# include <gtk/gtk.h>
|
||||
#endif
|
||||
|
||||
static bool g_bHasFocus = true;
|
||||
static bool g_bQuitting = false;
|
||||
|
||||
@@ -433,6 +436,10 @@ int main(int argc, char* argv[])
|
||||
* Do it after ChangeToDirOfExecutable, so the log ends up in the right place. */
|
||||
LOG = new RageLog();
|
||||
|
||||
#ifdef HAVE_GTK
|
||||
gtk_init(&argc,&argv);
|
||||
#endif
|
||||
|
||||
#ifdef DEBUG
|
||||
LOG->ShowConsole();
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user