aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-preferences.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-preferences.c')
-rw-r--r--mail/mail-preferences.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/mail-preferences.c b/mail/mail-preferences.c
index 99599df888..e1e36a1509 100644
--- a/mail/mail-preferences.c
+++ b/mail/mail-preferences.c
@@ -414,8 +414,8 @@ mail_preferences_apply (MailPreferences *prefs)
entry = gnome_file_entry_gtk_entry (GNOME_FILE_ENTRY (prefs->notify_sound_file));
string = gtk_entry_get_text (GTK_ENTRY (entry));
- pgp_type = string && *string ? mail_config_pgp_type_detect_from_path (string) : CONFIG_PGP_TYPE_NONE;
- if (pgp_type == CONFIG_PGP_TYPE_GPG) {
+ pgp_type = string && *string ? mail_config_pgp_type_detect_from_path (string) : MAIL_CONFIG_PGP_TYPE_NONE;
+ if (pgp_type == MAIL_CONFIG_PGP_TYPE_GPG) {
mail_config_set_pgp_path (string && *string ? string : NULL);
mail_config_set_pgp_type (pgp_type);
}