diff options
author | Robert Tari <robert@tari.in> | 2021-10-19 16:00:35 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-10-21 11:16:53 +0200 |
commit | 607b5035bf3e8dbb836aae6c45fd3cb6f2ad2b6f (patch) | |
tree | 4ac40ea15c716cb0a8084b0b555d8d4254023626 | |
parent | 96c7eb51dc0386264aade42c91f9c2d028794563 (diff) | |
download | ayatana-indicator-session-607b5035bf3e8dbb836aae6c45fd3cb6f2ad2b6f.tar.gz ayatana-indicator-session-607b5035bf3e8dbb836aae6c45fd3cb6f2ad2b6f.tar.bz2 ayatana-indicator-session-607b5035bf3e8dbb836aae6c45fd3cb6f2ad2b6f.zip |
src/backend-dbus/actions.c: Replace deprecated g_spawn_check_exit_status
-rw-r--r-- | src/backend-dbus/actions.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/backend-dbus/actions.c b/src/backend-dbus/actions.c index c83d352..9450865 100644 --- a/src/backend-dbus/actions.c +++ b/src/backend-dbus/actions.c @@ -733,7 +733,11 @@ zenity_question (IndicatorSessionActionsDbus * self, } else { - confirmed = g_spawn_check_exit_status (exit_status, &error); + #if GLIB_CHECK_VERSION(2, 70, 0) + confirmed = g_spawn_check_wait_status (exit_status, &error); + #else + confirmed = g_spawn_check_exit_status (exit_status, &error); + #endif } log_and_clear_error (&error, G_STRLOC, G_STRFUNC); |