summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/preferences-widget.cpp
diff options
context:
space:
mode:
authorJabiertxo Arraiza Cenoz <jtx@jtx.markerlab.es>2018-07-25 13:44:20 +0000
committerJabiertxo Arraiza Cenoz <jtx@jtx.markerlab.es>2018-07-25 13:44:20 +0000
commit19594097b9feb312b17b0fc62911881c6616535f (patch)
treeaf006cf1971e30ab07648cad67dff62cb54df4af /src/ui/widget/preferences-widget.cpp
parentFixing a win compiling bug and coding style (diff)
downloadinkscape-19594097b9feb312b17b0fc62911881c6616535f.tar.gz
inkscape-19594097b9feb312b17b0fc62911881c6616535f.zip
Fixing a win compiling bug and coding style
Diffstat (limited to 'src/ui/widget/preferences-widget.cpp')
-rw-r--r--src/ui/widget/preferences-widget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/widget/preferences-widget.cpp b/src/ui/widget/preferences-widget.cpp
index 01701456e..c7aed51bc 100644
--- a/src/ui/widget/preferences-widget.cpp
+++ b/src/ui/widget/preferences-widget.cpp
@@ -903,7 +903,7 @@ void PrefOpenFolder::onRelatedButtonClickedCallback()
{
g_mkdir_with_parents(relatedEntry->get_text().c_str(), 0700);
GError *error = NULL;
- if (!g_app_info_launch_default_for_uri(g_filename_to_uri(relatedEntry->get_text()), NULL, &error)) {
+ if (!g_app_info_launch_default_for_uri(g_filename_to_uri(relatedEntry->get_text()->c_str()), NULL, &error)) {
g_warning("Failed to open uri: %s", error->message);
}
}