From c223f52d1d70d9662b4110bdb6a5426213fd6a51 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 22 Jan 2001 04:11:14 +0000 Subject: Initialize OpenPGP. 2001-01-21 Jeffrey Stedfast * component-factory.c (owner_set_cb): Initialize OpenPGP. * openpgp-utils.c (openpgp_init): No longer takes a passphrase callback, we'll just use the mail-session one. Makes life simpler. (pgp_get_passphrase): Use mail_session_request_dialog(). svn path=/trunk/; revision=7694 --- mail/openpgp-utils.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'mail/openpgp-utils.h') diff --git a/mail/openpgp-utils.h b/mail/openpgp-utils.h index 17c5e22ccf..571a1d125c 100644 --- a/mail/openpgp-utils.h +++ b/mail/openpgp-utils.h @@ -45,9 +45,8 @@ typedef enum { PGP_HASH_TYPE_SHA1 } PgpHashType; -typedef gchar* (*PgpPasswdFunc) (const gchar *prompt, gpointer data); -void openpgp_init (const gchar *path, PgpType type, PgpPasswdFunc callback, gpointer data); +void openpgp_init (const gchar *path, PgpType type); gboolean openpgp_detect (const gchar *text); -- cgit v1.2.3