From 059f748a38253374860d77b10f0d4e6b1164e40e Mon Sep 17 00:00:00 2001 From: giomatfois62 Date: Tue, 6 Feb 2024 19:28:05 +0100 Subject: [PATCH] use g_spawn_check_exit_status to avoid bump to glib 2.70 --- source/rofi-icon-fetcher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/rofi-icon-fetcher.c b/source/rofi-icon-fetcher.c index ad6f263fe..8cf8110b2 100644 --- a/source/rofi-icon-fetcher.c +++ b/source/rofi-icon-fetcher.c @@ -211,7 +211,7 @@ static gboolean exec_thumbnailer_command(gchar **command_args) { NULL, G_SPAWN_DEFAULT, NULL, NULL, NULL, NULL, &wait_status, &error); if (spawned) { - return g_spawn_check_wait_status(wait_status, NULL); + return g_spawn_check_exit_status(wait_status, NULL); } else { g_warning("Error calling thumbnailer: %s", error->message); g_error_free(error);