diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-01-22 12:11:14 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-01-22 12:11:14 +0800 |
commit | c223f52d1d70d9662b4110bdb6a5426213fd6a51 (patch) | |
tree | cee14acf38cac3bb3c01907aba8571d741b94f57 /mail/openpgp-utils.h | |
parent | 05601a3f73ccbe8671c17cda07391b066ae52761 (diff) | |
download | gsoc2013-evolution-c223f52d1d70d9662b4110bdb6a5426213fd6a51.tar gsoc2013-evolution-c223f52d1d70d9662b4110bdb6a5426213fd6a51.tar.gz gsoc2013-evolution-c223f52d1d70d9662b4110bdb6a5426213fd6a51.tar.bz2 gsoc2013-evolution-c223f52d1d70d9662b4110bdb6a5426213fd6a51.tar.lz gsoc2013-evolution-c223f52d1d70d9662b4110bdb6a5426213fd6a51.tar.xz gsoc2013-evolution-c223f52d1d70d9662b4110bdb6a5426213fd6a51.tar.zst gsoc2013-evolution-c223f52d1d70d9662b4110bdb6a5426213fd6a51.zip |
Initialize OpenPGP.
2001-01-21 Jeffrey Stedfast <fejj@ximian.com>
* 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
Diffstat (limited to 'mail/openpgp-utils.h')
-rw-r--r-- | mail/openpgp-utils.h | 3 |
1 files changed, 1 insertions, 2 deletions
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); |