[gmime] code cleanup
- From: Jeffrey Stedfast <fejj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gmime] code cleanup
- Date: Sat, 11 Mar 2017 19:20:15 +0000 (UTC)
commit 9c146160110ae13e9b014cb984c905c3d82121d9
Author: Jeffrey Stedfast <jestedfa microsoft com>
Date: Sat Mar 11 11:05:15 2017 -0500
code cleanup
gmime/gmime-crypto-context.h | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/gmime/gmime-crypto-context.h b/gmime/gmime-crypto-context.h
index 2ff1d46..dda8f55 100644
--- a/gmime/gmime-crypto-context.h
+++ b/gmime/gmime-crypto-context.h
@@ -52,7 +52,7 @@ typedef struct _GMimeDecryptResultClass GMimeDecryptResultClass;
* GMimePasswordRequestFunc:
* @ctx: the #GMimeCryptoContext making the request
* @user_id: the user_id of the password being requested
- * @prompt_ctx: a string containing some helpful context for the prompt
+ * @prompt: a string containing some helpful context for the prompt
* @reprompt: %TRUE if this password request is a reprompt due to a previously bad password response
* @response: a stream for the application to write the password to (followed by a newline '\n' character)
* @err: a #GError for the callback to set if an error occurs
@@ -62,7 +62,7 @@ typedef struct _GMimeDecryptResultClass GMimeDecryptResultClass;
*
* Returns: %TRUE on success or %FALSE on error.
**/
-typedef gboolean (* GMimePasswordRequestFunc) (GMimeCryptoContext *ctx, const char *user_id, const char
*prompt_ctx,
+typedef gboolean (* GMimePasswordRequestFunc) (GMimeCryptoContext *ctx, const char *user_id, const char
*prompt,
gboolean reprompt, GMimeStream *response, GError **err);
@@ -160,9 +160,6 @@ struct _GMimeCryptoContextClass {
int (* export_keys) (GMimeCryptoContext *ctx, const char *keys[],
GMimeStream *ostream, GError **err);
-
- gboolean (* get_always_trust) (GMimeCryptoContext *ctx);
- void (* set_always_trust) (GMimeCryptoContext *ctx, gboolean always_trust);
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]