]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/gtk/GuiApplication.C
It compiles again. I must be crazy. At least it does not run but segfaults
[lyx.git] / src / frontends / gtk / GuiApplication.C
index 169c57f2246c766334f30c82dfb280dffaf10842..eefd320b8fc768aebc411eb88393f0facdadffca 100644 (file)
 #endif
 
 #include "GuiApplication.h"
+#include "io_callback.h"
 
 #include "GtkmmX.h"
 
 #include "BufferView.h"
+#include "Color.h"
 
 #include "graphics/LoaderQueue.h"
 
@@ -40,6 +42,8 @@
 
 #include "LyXGdkImage.h"
 
+#include <iomanip>
+
 
 using lyx::support::subst;
 
@@ -65,9 +69,9 @@ int getDPI()
 
 namespace lyx {
 
-lyx::frontend::Application * createApplication(int & argc, char * argv[])
+frontend::Application * createApplication(int & argc, char * argv[])
 {
-       return new GuiApplication(argc, argv);
+       return new frontend::GuiApplication(argc, argv);
 }
 
 namespace frontend {
@@ -163,7 +167,7 @@ bool GuiApplication::getRgbColor(LColor_color col,
 string const GuiApplication::hexName(LColor_color col)
 {
        lyx::RGBColor rgbcol;
-       if (!getRGBColor(col, rgbcol)) {
+       if (!getRgbColor(col, rgbcol)) {
                lyxerr << "X can't find color for \"" << lcolor.getLyXName(col)
                       << '"' << std::endl;
                return string();