From 9da2c12c8a2bb26f814b59c2999b8e5b5ce43b72 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Fri, 30 Dec 2022 15:01:17 +0100 Subject: [PATCH] [IconFetcher] Fix for api change --- source/rofi-icon-fetcher.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;