Print error message if default_icon.png cannot be loaded (issue #574)

This commit is contained in:
o9000 2016-03-27 17:33:42 +02:00
parent 92b391a1b2
commit 9018313fb2

View file

@ -505,6 +505,11 @@ void init_X11_post_config()
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()