diff options
author | Dave Davenport <qball@blame.services> | 2022-12-30 15:01:17 +0100 |
---|---|---|
committer | Dave Davenport <qball@blame.services> | 2022-12-30 15:01:17 +0100 |
commit | 9da2c12c8a2bb26f814b59c2999b8e5b5ce43b72 (patch) | |
tree | 707710fae006b5e697b417466dcf43607f36573b | |
parent | d464822505f5b57e6f5984f5468c62af83d88b2f (diff) |
[IconFetcher] Fix for api change
-rw-r--r-- | source/rofi-icon-fetcher.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/rofi-icon-fetcher.c b/source/rofi-icon-fetcher.c index 7dc9770d..51ed6f44 100644 --- a/source/rofi-icon-fetcher.c +++ b/source/rofi-icon-fetcher.c @@ -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; |