aboutsummaryrefslogtreecommitdiffstats
path: root/gpgme/edit.c
diff options
context:
space:
mode:
Diffstat (limited to 'gpgme/edit.c')
-rw-r--r--gpgme/edit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gpgme/edit.c b/gpgme/edit.c
index 219e657e..d713cab6 100644
--- a/gpgme/edit.c
+++ b/gpgme/edit.c
@@ -83,7 +83,7 @@ _gpgme_op_edit_start (GpgmeCtx ctx, int synchronous,
GpgmeError err = 0;
if (!fnc)
- return mk_error (Invalid_Value);
+ return GPGME_Invalid_Value;
err = _gpgme_op_reset (ctx, synchronous);
if (err)
@@ -93,7 +93,7 @@ _gpgme_op_edit_start (GpgmeCtx ctx, int synchronous,
ctx->result.edit = malloc (sizeof *ctx->result.edit);
if (!ctx->result.edit)
{
- err = mk_error (Out_Of_Core);
+ err = GPGME_Out_Of_Core;
goto leave;
}
ctx->result.edit->fnc = fnc;
@@ -102,7 +102,7 @@ _gpgme_op_edit_start (GpgmeCtx ctx, int synchronous,
/* Check the supplied data. */
if (!out)
{
- err = mk_error (Invalid_Value);
+ err = GPGME_Invalid_Value;
goto leave;
}