Print error message if default_icon.png cannot be loaded (issue #574)
This commit is contained in:
parent
92b391a1b2
commit
9018313fb2
1 changed files with 5 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue