Fix some compiler warnings

* -Wno-inline in autoconf builds (was already in meson builds)
* Use non-deprecated name for g_spawn_check_wait_status
* Update libgwater
This commit is contained in:
lbonn 2024-07-08 22:52:03 +02:00 committed by lbonn
parent 8f06e0a370
commit a7c03695c4
3 changed files with 4 additions and 4 deletions

View File

@ -74,7 +74,7 @@ AM_PROG_AR
dnl ---------------------------------------------------------------------
dnl Base CFLAGS
dnl ---------------------------------------------------------------------
AM_CFLAGS="-Wall -Wextra -Wparentheses -Winline -pedantic -Wno-overlength-strings -Wunreachable-code"
AM_CFLAGS="-Wall -Wextra -Wparentheses -Wno-inline -pedantic -Wno-overlength-strings -Wunreachable-code"
dnl ---------------------------------------------------------------------
dnl Enable source code coverage reporting for GCC

View File

@ -210,11 +210,11 @@ static gboolean exec_thumbnailer_command(gchar **command_args) {
NULL, G_SPAWN_DEFAULT | G_SPAWN_SEARCH_PATH, NULL, NULL, NULL, NULL, &wait_status, &error);
if (spawned) {
return g_spawn_check_exit_status(wait_status, NULL);
return g_spawn_check_wait_status(wait_status, NULL);
} else {
g_warning("Error calling thumbnailer: %s", error->message);
g_error_free(error);
return FALSE;
}
}

@ -1 +1 @@
Subproject commit 42a145150cff135be377754486c504836ddea836
Subproject commit d86f9903efb9c490c0e3b0316d7f2da5b5a5632c