[balsa/gtk4: 311/312] libbalsa-gpgme: Build with GLib < 2.69
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/gtk4: 311/312] libbalsa-gpgme: Build with GLib < 2.69
- Date: Tue, 5 Oct 2021 20:01:30 +0000 (UTC)
commit 15bc7c8544de3ceeb5baf8a23eef89d49d58d791
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Wed Jul 21 18:33:09 2021 -0400
libbalsa-gpgme: Build with GLib < 2.69
modified: libbalsa/libbalsa-gpgme.c
libbalsa/libbalsa-gpgme.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libbalsa/libbalsa-gpgme.c b/libbalsa/libbalsa-gpgme.c
index 8d1484a19..a67d7c51a 100644
--- a/libbalsa/libbalsa-gpgme.c
+++ b/libbalsa/libbalsa-gpgme.c
@@ -1201,11 +1201,11 @@ 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)) {
-#if GLIB_CHECK_VERSION(2, 70, 0)
+#if GLIB_CHECK_VERSION(2, 69, 0)
gpg_capas.export_filter_uid = g_spawn_check_wait_status(exit_status, NULL);
-#else /* GLIB_CHECK_VERSION(2, 70, 0) */
+#else /* GLIB_CHECK_VERSION(2, 69, 0) */
gpg_capas.export_filter_uid = g_spawn_check_exit_status(exit_status, NULL);
-#endif /* GLIB_CHECK_VERSION(2, 70, 0) */
+#endif /* GLIB_CHECK_VERSION(2, 69, 0) */
}
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]