1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-18 13:54:36 -05:00

[IconFetcher] Fix for api change

This commit is contained in:
Dave Davenport 2022-12-30 15:01:17 +01:00
parent d464822505
commit 9da2c12c8a

View file

@ -332,7 +332,8 @@ static void rofi_icon_fetcher_worker(thread_state *sdata,
const char *ext = g_strrstr(sentry->entry->name, ".");
if (ext) {
icon_path = helper_get_theme_path(sentry->entry->name, ext);
const char *exts2[2] = {ext, NULL};
icon_path = helper_get_theme_path(sentry->entry->name, exts2);
}
if (icon_path == NULL) {
sentry->query_done = TRUE;