diff options
Diffstat (limited to 'smime/gui')
-rw-r--r-- | smime/gui/cert-trust-dialog.c | 1 | ||||
-rw-r--r-- | smime/gui/certificate-viewer.c | 1 | ||||
-rw-r--r-- | smime/gui/component.c | 2 |
3 files changed, 3 insertions, 1 deletions
diff --git a/smime/gui/cert-trust-dialog.c b/smime/gui/cert-trust-dialog.c index 13c02e76b2..49efaea83c 100644 --- a/smime/gui/cert-trust-dialog.c +++ b/smime/gui/cert-trust-dialog.c @@ -83,6 +83,7 @@ ctd_response(GtkWidget *w, guint id, CertTrustDialogData *data) case GTK_RESPONSE_ACCEPT: { /* just *what on earth* was chris thinking here!?!?! copied from certificate-manager.c */ GtkWidget *dialog = ca_trust_dialog_show (data->cacert, FALSE); + /* *icert is already declared earlier in this function? */ CERTCertificate *icert = e_cert_get_internal_cert (data->cacert); g_signal_stop_emission_by_name(w, "response"); diff --git a/smime/gui/certificate-viewer.c b/smime/gui/certificate-viewer.c index 94799b7074..1090b5eff3 100644 --- a/smime/gui/certificate-viewer.c +++ b/smime/gui/certificate-viewer.c @@ -66,7 +66,6 @@ free_data (gpointer data, GObject *where_the_object_was) static void fill_in_general (CertificateViewerData *cvm_data, ECert *cert) { - CERTCertificate *mcert = e_cert_get_internal_cert (cert); GtkWidget *label; const char *text; char *markup; diff --git a/smime/gui/component.c b/smime/gui/component.c index 152d38fe3e..a603529459 100644 --- a/smime/gui/component.c +++ b/smime/gui/component.c @@ -25,6 +25,8 @@ #include <config.h> #endif +#include "component.h" + #include <gtk/gtk.h> #include <libgnome/gnome-i18n.h> |