diff options
| author | Jabiertxo Arraiza Cenoz <jtx@jtx.markerlab.es> | 2018-07-25 13:44:20 +0000 |
|---|---|---|
| committer | Jabiertxo Arraiza Cenoz <jtx@jtx.markerlab.es> | 2018-07-25 13:44:20 +0000 |
| commit | 19594097b9feb312b17b0fc62911881c6616535f (patch) | |
| tree | af006cf1971e30ab07648cad67dff62cb54df4af /src/ui/widget/preferences-widget.cpp | |
| parent | Fixing a win compiling bug and coding style (diff) | |
| download | inkscape-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.cpp | 2 |
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); } } |
