1
0
Fork 0

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>
This commit is contained in:
Jonas Ådahl 2021-08-01 20:03:40 +02:00 committed by Marge Bot
parent 23bebf3385
commit 26e06845e3

View file

@ -900,7 +900,7 @@ on_dialog_closed (GPid pid,
MetaPlugin *plugin = user_data; MetaPlugin *plugin = user_data;
gboolean ok; 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); meta_plugin_complete_display_change (plugin, ok);
} }