aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--gpgme/ChangeLog2
-rw-r--r--gpgme/context.h7
2 files changed, 2 insertions, 7 deletions
diff --git a/gpgme/ChangeLog b/gpgme/ChangeLog
index 11498b19..869354be 100644
--- a/gpgme/ChangeLog
+++ b/gpgme/ChangeLog
@@ -1,5 +1,7 @@
2003-01-29 Marcus Brinkmann <[email protected]>
+ * 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 f16af04d..c21bfb19 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 */