diff options
| author | Jabiertxo Arraiza Cenoz <jtx@jtx.markerlab.es> | 2018-07-25 14:38:12 +0000 |
|---|---|---|
| committer | Jabiertxo Arraiza Cenoz <jtx@jtx.markerlab.es> | 2018-07-25 14:38:12 +0000 |
| commit | 3bfafac688b2f3330eba0c81a1e24d93fa0e2ab8 (patch) | |
| tree | 9025b65bf80ac330c81ce4f5b70dbe85b3c4f759 /src | |
| parent | Fixing a win compiling bug and fix a string pointed by vlada (diff) | |
| download | inkscape-3bfafac688b2f3330eba0c81a1e24d93fa0e2ab8.tar.gz inkscape-3bfafac688b2f3330eba0c81a1e24d93fa0e2ab8.zip | |
Fixing coding style
Diffstat (limited to 'src')
| -rw-r--r-- | src/ui/dialog/inkscape-preferences.cpp | 2 | ||||
| -rw-r--r-- | src/ui/widget/preferences-widget.cpp | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp index d6cc39314..38e217397 100644 --- a/src/ui/dialog/inkscape-preferences.cpp +++ b/src/ui/dialog/inkscape-preferences.cpp @@ -867,7 +867,7 @@ void InkscapePreferences::initPageUI() _page_theme.add_line(true, "", _dark_theme, "", _("Use dark theme"), true); _symbolic_icons.init(_("Use symbolic icons"), "/theme/symbolicIcons", true); _page_theme.add_line(true, "", _symbolic_icons, "", "", true), - _symbolic_color.init(_("Color for symbolic icons:"), "/theme/symbolicColor", 0x000000ff); + _symbolic_color.init(_("Color for symbolic icons:"), "/theme/symbolicColor", 0x000000ff); _page_theme.add_line(false, _("Color for symbolic icons:"), _symbolic_color, "", "", true); { Glib::ustring sizeLabels[] = { C_("Icon size", "Larger"), C_("Icon size", "Large"), C_("Icon size", "Small"), diff --git a/src/ui/widget/preferences-widget.cpp b/src/ui/widget/preferences-widget.cpp index c4c177e76..135382b14 100644 --- a/src/ui/widget/preferences-widget.cpp +++ b/src/ui/widget/preferences-widget.cpp @@ -903,7 +903,8 @@ 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), 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); } } |
