diff options
| author | Patrick Storz <eduard.braun2@gmx.de> | 2019-06-07 22:27:29 +0000 |
|---|---|---|
| committer | Patrick Storz <eduard.braun2@gmx.de> | 2019-06-07 22:28:13 +0000 |
| commit | 96c7da471a5a3c771714f78db87c357873d64816 (patch) | |
| tree | 01210fd886781d10d7598f82674c4c5da65d8576 /src/inkscape-application.cpp | |
| parent | TextToolbar: Fix superscript/subscript handling (diff) | |
| download | inkscape-96c7da471a5a3c771714f78db87c357873d64816.tar.gz inkscape-96c7da471a5a3c771714f78db87c357873d64816.zip | |
Remove _argv0 from Inkscape::Application
Currently it was only used as the least preferred (and therefore
effectively unused) location where to store the crash backup.
However it wasn't set properly since
408cb49b5559a81ea803df64bf58457a5dd4bf16
causing assertion errors while crashing.
On top of that argv0 is not a reliable way to determine the path to
the currently running executable anyway.
Fixes https://gitlab.com/inkscape/inkscape/issues/176
Diffstat (limited to 'src/inkscape-application.cpp')
| -rw-r--r-- | src/inkscape-application.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inkscape-application.cpp b/src/inkscape-application.cpp index 4e31f8751..031f93bd6 100644 --- a/src/inkscape-application.cpp +++ b/src/inkscape-application.cpp @@ -569,7 +569,7 @@ template<> void ConcreteInkscapeApplication<Gio::Application>::on_startup2() { - Inkscape::Application::create(nullptr, false); + Inkscape::Application::create(false); } #ifdef GDK_WINDOWING_QUARTZ @@ -582,7 +582,7 @@ void ConcreteInkscapeApplication<Gtk::Application>::on_startup2() { // This should be completely rewritten. - Inkscape::Application::create(nullptr, _with_gui); // argv appears to not be used. + Inkscape::Application::create(_with_gui); if (!_with_gui) { return; |
