https://bugzilla.xfce.org/show_bug.cgi?id=14576

--- Comment #35 from HYPERION <h1p8r...@yandex.com> ---
1 remark : you added a test for custom_icon != NULL :

custom_icon = g_strconcat (g_file_get_path (thunar_file_get_file (file)), "/",
"folder.jpg", NULL);
+          if (custom_icon != NULL && g_file_test(custom_icon,
G_FILE_TEST_EXISTS))

you can avoid testing custom_icon != NULL : custom_icon can't be NULL as
g_strconcat can't fail and output is at least "/", "folder.jpg"

JP

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Xfce-bugs mailing list
Xfce-bugs@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce-bugs

Reply via email to