mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
shell-util: Pass the mutter context to the spawn child setup function
This was the type the function expected, but we were actually passing the global context to it. This didn't crash for some reason, but indeed it was wrong and we didn't catch it because mutter side had not type-checks either Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3355>
This commit is contained in:
parent
22a38c25f2
commit
9abad7f25f
1 changed files with 2 additions and 1 deletions
|
|
@ -873,7 +873,8 @@ shell_util_spawn_async_with_pipes_and_fds (const char *working_director
|
|||
GPid child_pid = 0;
|
||||
|
||||
if (!g_spawn_async_with_pipes_and_fds (working_directory, argv, envp, flags,
|
||||
spawn_child_setup, shell_global,
|
||||
spawn_child_setup,
|
||||
shell_global_get_context (shell_global),
|
||||
stdin_fd, stdout_fd, stderr_fd,
|
||||
source_fds, target_fds, n_fds,
|
||||
&child_pid,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue