summaryrefslogtreecommitdiffstats
path: root/src/inkview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inkview.cpp')
-rw-r--r--src/inkview.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/inkview.cpp b/src/inkview.cpp
index f1be398f7..1ec8393ba 100644
--- a/src/inkview.cpp
+++ b/src/inkview.cpp
@@ -232,7 +232,8 @@ main (int argc, const char **argv)
ss.view = NULL;
ss.fullscreen = false;
- inkscape = new Inkscape::Application(argv[0], true);
+ Inkscape::Application::init(argv[0], true);
+ inkscape = Inkscape::Application::instance();
// starting at where the commandline options stopped parsing because
// we want all the files to be in the list