]> git.lyx.org Git - lyx.git/blobdiff - src/lyx_gui.C
better latin3&4 support
[lyx.git] / src / lyx_gui.C
index 27526090cb329cd6d8311cfc2578666e9651513f..a9c516d8aa63b8e2832347cd4ff18661a5640b96 100644 (file)
@@ -10,6 +10,7 @@
 
 #include <config.h>
 #include <cstdlib>
+#include <fcntl.h>
 
 #ifdef __GNUG__
 #pragma implementation
@@ -19,6 +20,7 @@
 #include FORMS_H_LOCATION
 #include "support/filetools.h"
 #include "support/os.h"
+#include "support/lyxlib.h"
 #include "figure_form.h"
 #include "print_form.h"
 #include "tex-strings.h"
@@ -37,7 +39,6 @@
 #endif
 #include "bufferlist.h"
 #include "ColorHandler.h"
-#include "frontends/Dialogs.h"
 #include "frontends/GUIRunTime.h"
 #include "frontends/xforms/xforms_helpers.h" // for XformColor
 
@@ -73,7 +74,9 @@ FL_resource res[] =
 };
 
 
-extern "C"
+extern "C" {
+       
+static
 int LyX_XErrHandler(Display * display, XErrorEvent * xeev)
 {
        // emergency save
@@ -88,6 +91,8 @@ int LyX_XErrHandler(Display * display, XErrorEvent * xeev)
        lyx::abort();
        return 0; // Solaris CC wants us to return something
 }
+       
+}
 
 
 LyXGUI::LyXGUI(LyX * owner, int * argc, char * argv[], bool GUI)
@@ -301,9 +306,6 @@ void LyXGUI::create_forms()
        }
 
        lyxViews->show(main_placement, FL_FULLBORDER, "LyX");
-
-       if (lyxrc.show_banner)
-               lyxViews->getDialogs()->showSplash();
 }