diff options
author | Ondrej Holy <oholy@redhat.com> | 2021-10-15 10:10:56 +0200 |
---|---|---|
committer | Ondrej Holy <oholy@redhat.com> | 2021-10-15 10:23:26 +0200 |
commit | 5a78b46f1b1f7e0f8e616fbd78c77c20e6f1c1ef (patch) | |
tree | 3ee9705fff183552324388069784c015b2101fd1 /daemon/mount.c | |
parent | 266745cd9db5f719efced2b6b92183dac0e72339 (diff) | |
download | gvfs-5a78b46f1b1f7e0f8e616fbd78c77c20e6f1c1ef.tar.gz |
mount: Replace deprecated functionwip/oholy/ci-libsoup3
The `g_spawn_check_exit_status` function is deprecated now and
`g_spawn_check_wait_status` should be used instead. Let's make that
change and bump the glib dependency accordingly.
Diffstat (limited to 'daemon/mount.c')
-rw-r--r-- | daemon/mount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/mount.c b/daemon/mount.c index db271dd3..41a4b0b7 100644 --- a/daemon/mount.c +++ b/daemon/mount.c @@ -419,7 +419,7 @@ child_watch_cb (GPid pid, GError *error = NULL; gint code = 0; - if (!g_spawn_check_exit_status (status, &error)) + if (!g_spawn_check_wait_status (status, &error)) { if (error->domain == G_SPAWN_EXIT_ERROR) code = error->code; |