aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-10-21 11:17:17 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-10-21 11:17:17 +0200
commit21588e910f8ccae29024bcc1df6af9010a60d00d (patch)
tree4ac40ea15c716cb0a8084b0b555d8d4254023626
parent96c7eb51dc0386264aade42c91f9c2d028794563 (diff)
parent607b5035bf3e8dbb836aae6c45fd3cb6f2ad2b6f (diff)
downloadayatana-indicator-session-21588e910f8ccae29024bcc1df6af9010a60d00d.tar.gz
ayatana-indicator-session-21588e910f8ccae29024bcc1df6af9010a60d00d.tar.bz2
ayatana-indicator-session-21588e910f8ccae29024bcc1df6af9010a60d00d.zip
Merge branch 'tari01-pr/replace-deprecated-g-spawn-check-exit-status'
Attributes GH PR #54: https://github.com/AyatanaIndicators/ayatana-indicator-session/pull/54
-rw-r--r--src/backend-dbus/actions.c6
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);