diff options
Diffstat (limited to 'shell/e-shell-utils.c')
-rw-r--r-- | shell/e-shell-utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/e-shell-utils.c b/shell/e-shell-utils.c index c1728dfde8..a983a7b768 100644 --- a/shell/e-shell-utils.c +++ b/shell/e-shell-utils.c @@ -43,9 +43,9 @@ get_icon_path (const char *icon_name) if (g_path_is_absolute (icon_name)) icon_path = g_strdup (icon_name); else - icon_path = g_concat_dir_and_file (EVOLUTION_IMAGES, icon_name); + icon_path = g_build_filename (EVOLUTION_IMAGES, icon_name, NULL); - if (g_file_exists (icon_path)) { + if (g_file_test (icon_path, G_FILE_TEST_EXISTS)) { return icon_path; } else { g_free (icon_path); |