Skip to content

Commit

Permalink
use g_spawn_check_exit_status to avoid bump to glib 2.70
Browse files Browse the repository at this point in the history
  • Loading branch information
giomatfois62 committed Feb 6, 2024
1 parent 50d8ed9 commit 059f748
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/rofi-icon-fetcher.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 059f748

Please sign in to comment.