aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--smime/ChangeLog7
-rw-r--r--smime/gui/cert-trust-dialog.c4
2 files changed, 9 insertions, 2 deletions
diff --git a/smime/ChangeLog b/smime/ChangeLog
index 2837a597ec..2e0e2da083 100644
--- a/smime/ChangeLog
+++ b/smime/ChangeLog
@@ -1,3 +1,10 @@
+2004-08-16 Not Zed <NotZed@Ximian.com>
+
+ ** See bug #62963.
+
+ * gui/cert-trust-dialog.c (ctd_response): fix c99 syntax. Spotted
+ by Vincent Noel <vnoel@cox.net>
+
2004-08-12 Carlos Garnacho Parro <carlosg@gnome.org>
* gui/certificate-manager.c: Optionally use GtkFileChooser if
diff --git a/smime/gui/cert-trust-dialog.c b/smime/gui/cert-trust-dialog.c
index 3148adfaa9..b36d99ff53 100644
--- a/smime/gui/cert-trust-dialog.c
+++ b/smime/gui/cert-trust-dialog.c
@@ -79,12 +79,12 @@ ctd_response(GtkWidget *w, guint id, CertTrustDialogData *data)
CERT_ChangeCertTrust (CERT_GetDefaultCertDB(), icert, &trust);
break;
case GTK_RESPONSE_ACCEPT: {
- g_signal_stop_emission_by_name(w, "response");
-
/* just *what on earth* was chris thinking here!?!?! copied from certificate-manager.c */
GtkWidget *dialog = ca_trust_dialog_show (data->cacert, FALSE);
CERTCertificate *icert = e_cert_get_internal_cert (data->cacert);
+ g_signal_stop_emission_by_name(w, "response");
+
ca_trust_dialog_set_trust (dialog,
e_cert_trust_has_trusted_ca (icert->trust, TRUE, FALSE, FALSE),
e_cert_trust_has_trusted_ca (icert->trust, FALSE, TRUE, FALSE),