mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-18 13:54:36 -05:00
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:
parent
8f06e0a370
commit
a7c03695c4
3 changed files with 4 additions and 4 deletions
|
@ -74,7 +74,7 @@ AM_PROG_AR
|
||||||
dnl ---------------------------------------------------------------------
|
dnl ---------------------------------------------------------------------
|
||||||
dnl Base CFLAGS
|
dnl Base CFLAGS
|
||||||
dnl ---------------------------------------------------------------------
|
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 ---------------------------------------------------------------------
|
||||||
dnl Enable source code coverage reporting for GCC
|
dnl Enable source code coverage reporting for GCC
|
||||||
|
|
|
@ -210,7 +210,7 @@ static gboolean exec_thumbnailer_command(gchar **command_args) {
|
||||||
NULL, G_SPAWN_DEFAULT | G_SPAWN_SEARCH_PATH, NULL, NULL, NULL, NULL, &wait_status, &error);
|
NULL, G_SPAWN_DEFAULT | G_SPAWN_SEARCH_PATH, NULL, NULL, NULL, NULL, &wait_status, &error);
|
||||||
|
|
||||||
if (spawned) {
|
if (spawned) {
|
||||||
return g_spawn_check_exit_status(wait_status, NULL);
|
return g_spawn_check_wait_status(wait_status, NULL);
|
||||||
} else {
|
} else {
|
||||||
g_warning("Error calling thumbnailer: %s", error->message);
|
g_warning("Error calling thumbnailer: %s", error->message);
|
||||||
g_error_free(error);
|
g_error_free(error);
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 42a145150cff135be377754486c504836ddea836
|
Subproject commit d86f9903efb9c490c0e3b0316d7f2da5b5a5632c
|
Loading…
Reference in a new issue