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:
parent
d464822505
commit
9da2c12c8a
1 changed files with 2 additions and 1 deletions
|
@ -332,7 +332,8 @@ static void rofi_icon_fetcher_worker(thread_state *sdata,
|
||||||
|
|
||||||
const char *ext = g_strrstr(sentry->entry->name, ".");
|
const char *ext = g_strrstr(sentry->entry->name, ".");
|
||||||
if (ext) {
|
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) {
|
if (icon_path == NULL) {
|
||||||
sentry->query_done = TRUE;
|
sentry->query_done = TRUE;
|
||||||
|
|
Loading…
Reference in a new issue