Print error message if default_icon.png cannot be loaded (issue #574)
o9000 mrovi9000@gmail.com
1 files changed,
5 insertions(+),
0 deletions(-)
jump to
M
src/tint.c
→
src/tint.c
@@ -505,6 +505,11 @@ if (g_file_test(path, G_FILE_TEST_EXISTS))
default_icon = imlib_load_image(path); g_free(path); } + if (!default_icon) { + fprintf(stderr, + RED "Could not load default_icon.png. Please check that tint2 has been installed correctly!" RESET + "\n"); + } } void cleanup()