https://gitlab.gnome.org/GNOME/totem-pl-parser/-/merge_requests/53 From e718dd1fe2476e2a68da4b632f268f404ea951f2 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Wed, 3 Jan 2024 13:24:31 +0100 Subject: [PATCH] Return FALSE instead of NULL, to match the gboolean return type Fixes a C type error and compilation error with GCC 14 and Clang. --- a/plparse/totem-pl-parser.c +++ b/plparse/totem-pl-parser.c @@ -1338,7 +1338,7 @@ totem_pl_parser_save_finish (TotemPlParser *parser, GAsyncResult *async_result, GError **error) { - g_return_val_if_fail (g_task_is_valid (async_result, parser), NULL); + g_return_val_if_fail (g_task_is_valid (async_result, parser), FALSE); return g_task_propagate_boolean (G_TASK (async_result), error); } -- GitLab