summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2018-07-27 22:33:34 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2018-07-27 22:33:34 +0000
commit10a3af8a1c2b965ee8303545848550222b3575b9 (patch)
tree52596709bce674d83085762ef8235f7b67cbb36e /src/ui/dialog
parentRefactor fo theme switcher (diff)
downloadinkscape-10a3af8a1c2b965ee8303545848550222b3575b9.tar.gz
inkscape-10a3af8a1c2b965ee8303545848550222b3575b9.zip
fixing coding style
Diffstat (limited to 'src/ui/dialog')
-rw-r--r--src/ui/dialog/inkscape-preferences.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp
index 2be489c23..4cf31b097 100644
--- a/src/ui/dialog/inkscape-preferences.cpp
+++ b/src/ui/dialog/inkscape-preferences.cpp
@@ -614,9 +614,8 @@ static void _inkscape_fill_icons(const gchar *path, GHashTable *t)
gchar *filename = g_build_filename(path, dir_entry, "index.theme", NULL);
gchar *scalable = g_build_filename(path, dir_entry, "scalable", NULL);
gchar *symbolic = g_build_filename(path, dir_entry, "symbolic", NULL);
- if (g_file_test(filename, G_FILE_TEST_IS_REGULAR) &&
- (g_file_test(scalable, G_FILE_TEST_IS_DIR) ||
- g_file_test(symbolic, G_FILE_TEST_IS_DIR)) &&
+ if (g_file_test(filename, G_FILE_TEST_IS_REGULAR) &&
+ (g_file_test(scalable, G_FILE_TEST_IS_DIR) || g_file_test(symbolic, G_FILE_TEST_IS_DIR)) &&
g_strcmp0(dir_entry, "default") != 0 && !g_hash_table_contains(t, dir_entry)) {
g_hash_table_add(t, g_strdup(dir_entry));
}