]> git.lyx.org Git - lyx.git/blobdiff - src/LyX.cpp
make frontend::Application a bit slimmer
[lyx.git] / src / LyX.cpp
index efb1237950c7b70d910b87e798ae17a426675992..b6d1df8d4b59027fe8d10a292490deacd7c09c9f 100644 (file)
@@ -48,7 +48,6 @@
 
 #include "frontends/alert.h"
 #include "frontends/Application.h"
-#include "frontends/Gui.h"
 #include "frontends/LyXView.h"
 
 #include "support/environment.h"
@@ -375,22 +374,6 @@ void LyX::setGuiLanguage(std::string const & language)
 }
 
 
-Buffer const * LyX::updateInset(Inset const * inset) const
-{
-       if (quitting || !inset)
-               return 0;
-       return application().gui().updateInset(inset);
-}
-
-
-void LyX::hideDialogs(std::string const & name, Inset * inset) const
-{
-       if (quitting || !use_gui)
-               return;
-       application().gui().hideDialogs(name, inset);
-}
-
-
 int LyX::exec(int & argc, char * argv[])
 {
        // Here we need to parse the command line. At least