Code

Remove the failed and unused "new gui" stuff.
[inkscape.git] / src / extension / implementation / script.cpp
index 9a461ab2dc8340f68ed1dabcbb84c3b9f5947bd8..4fe0b58492f6a452f8cf39543a03e642f7941450 100644 (file)
@@ -39,7 +39,7 @@
 #include "extension/db.h"
 #include "script.h"
 #include "dialogs/dialog-events.h"
-#include "application/application.h"
+#include "inkscape.h"
 #include "xml/node.h"
 #include "xml/attribute-record.h"
 
@@ -983,7 +983,7 @@ int Script::execute (const std::list<std::string> &in_command,
 
     Glib::ustring stderr_data = fileerr.string();
     if (stderr_data.length() != 0 &&
-        Inkscape::NSApplication::Application::getUseGui()
+        inkscape_use_gui()
        ) {
         checkStderr(stderr_data, Gtk::MESSAGE_INFO,
                                  _("Inkscape has received additional data from the script executed.  "