mirror of
https://github.com/lbonn/rofi
synced 2025-02-16 21:08:31 +00:00
[IconFetcher] If last step fails to load icon, don't error out make warning
This commit is contained in:
parent
272c1ab231
commit
24c3258379
1 changed files with 2 additions and 2 deletions
|
@ -360,8 +360,8 @@ static void rofi_icon_fetcher_worker(thread_state *sdata,
|
|||
GdkPixbuf *pb = gdk_pixbuf_new_from_file_at_scale(
|
||||
icon_path, sentry->wsize, sentry->hsize, TRUE, &error);
|
||||
if (error != NULL) {
|
||||
g_error("Failed to load image: |%s| %d %d %s (%p)", icon_path,
|
||||
sentry->wsize, sentry->hsize, error->message, pb);
|
||||
g_warning("Failed to load image: |%s| %d %d %s (%p)", icon_path,
|
||||
sentry->wsize, sentry->hsize, error->message, pb);
|
||||
g_error_free(error);
|
||||
if (pb) {
|
||||
g_object_unref(pb);
|
||||
|
|
Loading…
Add table
Reference in a new issue