aboutsummaryrefslogtreecommitdiffstats
path: root/smime/gui/cert-trust-dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'smime/gui/cert-trust-dialog.c')
-rw-r--r--smime/gui/cert-trust-dialog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/smime/gui/cert-trust-dialog.c b/smime/gui/cert-trust-dialog.c
index cfd8ce464f..4f13ff2b74 100644
--- a/smime/gui/cert-trust-dialog.c
+++ b/smime/gui/cert-trust-dialog.c
@@ -73,7 +73,7 @@ ctd_response (GtkWidget *w, guint id, CertTrustDialogData *data)
e_cert_trust_add_peer_trust (&trust, FALSE,
gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (data->trust_button)),
FALSE);
- CERT_ChangeCertTrust (CERT_GetDefaultCertDB (), icert, &trust);
+ e_cert_db_change_cert_trust (icert, &trust);
break;
case GTK_RESPONSE_ACCEPT: {
/* just *what on earth* was chris thinking here!?!?! copied from certificate-manager.c */
@@ -101,7 +101,7 @@ ctd_response (GtkWidget *w, guint id, CertTrustDialogData *data)
trust_email,
trust_objsign);
- CERT_ChangeCertTrust (CERT_GetDefaultCertDB (), icert, &trust);
+ e_cert_db_change_cert_trust (icert, &trust);
}
gtk_widget_destroy (dialog);