summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/extension/internal/svg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extension/internal/svg.cpp b/src/extension/internal/svg.cpp
index 2e21ef272..e473f0df4 100644
--- a/src/extension/internal/svg.cpp
+++ b/src/extension/internal/svg.cpp
@@ -704,7 +704,7 @@ SPDocument *
Svg::open (Inkscape::Extension::Input *mod, const gchar *uri)
{
// This is only used at the end... but it should go here once uri stuff is fixed.
- auto file = Gio::File::create_for_uri(uri);
+ auto file = Gio::File::create_for_commandline_arg(uri);
const auto path = file->get_path();
// Fixing this means fixing a whole string of things.