]> git.lyx.org Git - features.git/blobdiff - src/insets/insetgraphicsParams.C
This commit saves the need to check for lyx::use_gui in a number of places.
[features.git] / src / insets / insetgraphicsParams.C
index 875b332223e37ec35126b36b2029058bd7bfc16e..802531f059bc799f76046b015c2cb0e2db8060c5 100644 (file)
@@ -14,6 +14,7 @@
 #include "insetgraphicsParams.h"
 
 #include "debug.h"
+#include "lyx_main.h" // for lyx::use_gui
 #include "lyxlex.h"
 #include "lyxrc.h"
 
@@ -33,10 +34,6 @@ using std::string;
 using std::ostream;
 
 
-namespace lyx {
-extern bool use_gui;
-}
-
 InsetGraphicsParams::InsetGraphicsParams()
 {
        init();