[balsa/gtk4: 313/314] libbalsa-gpgme: g_spawn_check_exit_status()




commit 0bc5abd08381602bc5907f1904a89ce43714b647
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]