aboutsummaryrefslogtreecommitdiff
path: root/src/backend-dbus
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend-dbus')
-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);