diff options
| author | Jabiertxo Arraiza Cenoz <jtx@jtx.markerlab.es> | 2018-07-25 14:01:58 +0000 |
|---|---|---|
| committer | Jabiertxo Arraiza Cenoz <jtx@jtx.markerlab.es> | 2018-07-25 14:01:58 +0000 |
| commit | 9460afe0070bb60c5cbdf7882205d95190f8f83d (patch) | |
| tree | ff8ecbbca760dbcfe1e4770fe6f06b365692cc6e /src/ui/widget/preferences-widget.cpp | |
| parent | Fixing a win compiling bug and coding style (diff) | |
| download | inkscape-9460afe0070bb60c5cbdf7882205d95190f8f83d.tar.gz inkscape-9460afe0070bb60c5cbdf7882205d95190f8f83d.zip | |
Fixing a win compiling bug and fix a string pointed by vlada
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 c7aed51bc..c4c177e76 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()->c_str()), NULL, &error)) { + if (!g_app_info_launch_default_for_uri(g_filename_to_uri(relatedEntry->get_text().c_str(), NULL, &error), NULL, &error)) { g_warning("Failed to open uri: %s", error->message); } } |
