mirror of
https://github.com/brl/mutter.git
synced 2024-11-24 17:10:40 -05:00
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:
parent
23bebf3385
commit
26e06845e3
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user