aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2003-01-29 15:32:15 +0000
committerMarcus Brinkmann <[email protected]>2003-01-29 15:32:15 +0000
commitf6604334b6162b5db5f7e87bb822cff4a2065549 (patch)
tree478dd78516d0a966781c7d48f6b3b9a25aed3cd2
parentdoc/ (diff)
downloadgpgme-f6604334b6162b5db5f7e87bb822cff4a2065549.tar.gz
gpgme-f6604334b6162b5db5f7e87bb822cff4a2065549.zip
2003-01-29 Marcus Brinkmann <[email protected]>
* context.h (wait_on_request_or_fail): Remove macro.
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 */