From f6604334b6162b5db5f7e87bb822cff4a2065549 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Wed, 29 Jan 2003 15:32:15 +0000 Subject: [PATCH] 2003-01-29 Marcus Brinkmann * context.h (wait_on_request_or_fail): Remove macro. --- gpgme/ChangeLog | 2 ++ gpgme/context.h | 7 ------- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/gpgme/ChangeLog b/gpgme/ChangeLog index 11498b1..869354b 100644 --- a/gpgme/ChangeLog +++ b/gpgme/ChangeLog @@ -1,5 +1,7 @@ 2003-01-29 Marcus Brinkmann + * context.h (wait_on_request_or_fail): Remove macro. + * context.h (gpgme_context_s): Remove member ERROR. * types.h (GpgmeStatusHandler): Change return type to GpgmeError. (GpgmeCommandHandler): Change return type to GpgmeError and add diff --git a/gpgme/context.h b/gpgme/context.h index f16af04..c21bfb1 100644 --- a/gpgme/context.h +++ b/gpgme/context.h @@ -142,11 +142,4 @@ struct gpgme_recipients_s if ((c)->pending) return GPGME_Busy; \ } while (0) -#define wait_on_request_or_fail(c) \ - do { \ - if (!(c)) return GPGME_Invalid_Value;\ - if (!(c)->pending) return GPGME_No_Request; \ - gpgme_wait ((c), 1); \ - } while (0) - #endif /* CONTEXT_H */ -- 2.26.2