[mutter] plugins/default: Switch to g_spawn_check_wait_status()
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] plugins/default: Switch to g_spawn_check_wait_status()
- Date: Thu, 12 Aug 2021 13:38:48 +0000 (UTC)
commit 26e06845e33a4c6cdc670d598be8e6b634f3df1a
Author: Jonas Ã…dahl <jadahl gmail com>
Date: Sun Aug 1 20:03:40 2021 +0200
plugins/default: Switch to g_spawn_check_wait_status()
The old one is deprecated and equivalent.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1941>
src/compositor/plugins/default.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/compositor/plugins/default.c b/src/compositor/plugins/default.c
index c89c84121f..2a622f6f16 100644
--- a/src/compositor/plugins/default.c
+++ b/src/compositor/plugins/default.c
@@ -900,7 +900,7 @@ on_dialog_closed (GPid pid,
MetaPlugin *plugin = user_data;
gboolean ok;
- ok = g_spawn_check_exit_status (status, NULL);
+ ok = g_spawn_check_wait_status (status, NULL);
meta_plugin_complete_display_change (plugin, ok);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]