[balsa/gtk4: 293/294] libbalsa-gpgme: Build with GLib < 2.69




commit f7e4193c94e5c75540be1eb4f1fbe7fc1e15b65b
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]