summaryrefslogtreecommitdiff
path: root/gio/gsubprocess.c
diff options
context:
space:
mode:
authorKarol Lewandowski <k.lewandowsk@samsung.com>2024-01-03 16:03:49 +0100
committerKarol Lewandowski <k.lewandowsk@samsung.com>2024-01-03 16:03:49 +0100
commit28d0ab6922ac85865d2ae49d43732d8c45e78b6d (patch)
treefe7e471e2718209f18db2bef4edbef056b5e9bc9 /gio/gsubprocess.c
parent1b11ff8d06ac53ccc79aa7595e2cd7b7972507f3 (diff)
downloadglib-28d0ab6922ac85865d2ae49d43732d8c45e78b6d.tar.gz
glib-28d0ab6922ac85865d2ae49d43732d8c45e78b6d.tar.bz2
glib-28d0ab6922ac85865d2ae49d43732d8c45e78b6d.zip
Imported Upstream version 2.74.5
Diffstat (limited to 'gio/gsubprocess.c')
-rw-r--r--gio/gsubprocess.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gio/gsubprocess.c b/gio/gsubprocess.c
index 523c80bfc..c4747a148 100644
--- a/gio/gsubprocess.c
+++ b/gio/gsubprocess.c
@@ -3,6 +3,8 @@
* Copyright © 2012, 2013 Red Hat, Inc.
* Copyright © 2012, 2013 Canonical Limited
*
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
@@ -754,7 +756,9 @@ g_subprocess_wait_async (GSubprocess *subprocess,
* see the cancellation in the _finish().
*/
if (cancellable)
- g_signal_connect_object (cancellable, "cancelled", G_CALLBACK (g_subprocess_wait_cancelled), task, 0);
+ g_signal_connect_object (cancellable, "cancelled",
+ G_CALLBACK (g_subprocess_wait_cancelled),
+ task, G_CONNECT_DEFAULT);
subprocess->pending_waits = g_slist_prepend (subprocess->pending_waits, task);
task = NULL;