[balsa/gtk4: 289/294] libbalsa-gpgme: g_spawn_check_exit_status()
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/gtk4: 289/294] libbalsa-gpgme: g_spawn_check_exit_status()
- Date: Sun, 20 Jun 2021 23:36:44 +0000 (UTC)
commit b2ac5ba179a6f17829b3da7e4544bb5962366deb
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Sat Jun 19 15:04:34 2021 -0400
libbalsa-gpgme: g_spawn_check_exit_status()
is deprecated: use g_spawn_check_wait_status() instead.
libbalsa/libbalsa-gpgme.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libbalsa/libbalsa-gpgme.c b/libbalsa/libbalsa-gpgme.c
index aa2313f36..f664623a4 100644
--- a/libbalsa/libbalsa-gpgme.c
+++ b/libbalsa/libbalsa-gpgme.c
@@ -1201,7 +1201,7 @@ gpg_check_capas(const gchar *gpg_path, const gchar *version)
/* check for the "--export-filter keep-uid=..." option */
if (g_spawn_sync(NULL, gpg_args, NULL, G_SPAWN_STDOUT_TO_DEV_NULL + G_SPAWN_STDERR_TO_DEV_NULL, NULL,
NULL, NULL, NULL,
&exit_status, NULL)) {
- gpg_capas.export_filter_uid = g_spawn_check_exit_status(exit_status, NULL);
+ gpg_capas.export_filter_uid = g_spawn_check_wait_status(exit_status, NULL);
}
g_debug("%s supports '--export-filter keep-uid=...': %d", gpg_path, gpg_capas.export_filter_uid);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]