summaryrefslogtreecommitdiffstats
path: root/src/inkscape-application.cpp
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2019-01-15 14:49:08 +0000
committerMarc Jeanmougin <marc@jeanmougin.fr>2019-01-15 14:49:08 +0000
commitd4cc46084652526cf02221c80c9898d1e7d76e4e (patch)
tree41eff4a7b8e85adbf94181f6a71b52a1b50eaec1 /src/inkscape-application.cpp
parentDo not translate appdata and desktop when they are not installed (diff)
parentInitialize unused variable. (diff)
downloadinkscape-d4cc46084652526cf02221c80c9898d1e7d76e4e.tar.gz
inkscape-d4cc46084652526cf02221c80c9898d1e7d76e4e.zip
Merge branch 'master' of gitlab.com:inkscape/inkscape
Diffstat (limited to 'src/inkscape-application.cpp')
-rw-r--r--src/inkscape-application.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/inkscape-application.cpp b/src/inkscape-application.cpp
index 2e4c690cf..54deedbbc 100644
--- a/src/inkscape-application.cpp
+++ b/src/inkscape-application.cpp
@@ -267,7 +267,8 @@ ConcreteInkscapeApplication<T>::on_open(const Gio::Application::type_vec_files&
} else {
// Open file
- SPDocument *doc = ink_file_open(file);
+ bool cancelled = false;
+ SPDocument *doc = ink_file_open(file, cancelled);
if (!doc) continue;
// Add to Inkscape::Application...