]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/gnome/GUIRunTime.C
Remove unneeded files, we have switched to use the libglade and there is no
[lyx.git] / src / frontends / gnome / GUIRunTime.C
index 041f12d673c4d9b521231ccbc38db4b0314d54ed..b650a37c0ca1fcd467dcb58cab8378baa5818034 100644 (file)
@@ -20,6 +20,7 @@
 
 #include <gnome--/main.h>
 #include "mainapp.h"
+#include <glade/glade.h>
 
 using std::endl;
 
@@ -33,7 +34,12 @@ using std::endl;
 
 extern bool finished;
 
-static int const xforms_include_version = FL_INCLUDE_VERSION;
+namespace {
+
+int const xforms_include_version = FL_INCLUDE_VERSION;
+
+} // namespace anon
+
 GLyxAppWin * mainAppWin;
 
 int GUIRunTime::initApplication(int, char * argv[])
@@ -68,6 +74,7 @@ int GUIRunTime::initApplication(int, char * argv[])
        static string app_id(PACKAGE);
        static string app_version(VERSION);
        static Gnome::Main  a(app_id, app_version, 1, argv);
+       glade_gnome_init(); // Initialize the glade library.
        static GLyxAppWin   appWin;
        mainAppWin = &appWin;