aboutsummaryrefslogtreecommitdiffstats
path: root/smime/gui
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2006-01-30 19:50:47 +0800
committerKjartan Maraas <kmaraas@src.gnome.org>2006-01-30 19:50:47 +0800
commit1c0c36fc8fd05091cef3297c1ce6841d90536b5e (patch)
treea84a8055135ae55532cec85f1723f14f305e1116 /smime/gui
parent1e5de972e60c9e693a87c0c5e899c64f930d75cb (diff)
downloadgsoc2013-evolution-1c0c36fc8fd05091cef3297c1ce6841d90536b5e.tar
gsoc2013-evolution-1c0c36fc8fd05091cef3297c1ce6841d90536b5e.tar.gz
gsoc2013-evolution-1c0c36fc8fd05091cef3297c1ce6841d90536b5e.tar.bz2
gsoc2013-evolution-1c0c36fc8fd05091cef3297c1ce6841d90536b5e.tar.lz
gsoc2013-evolution-1c0c36fc8fd05091cef3297c1ce6841d90536b5e.tar.xz
gsoc2013-evolution-1c0c36fc8fd05091cef3297c1ce6841d90536b5e.tar.zst
gsoc2013-evolution-1c0c36fc8fd05091cef3297c1ce6841d90536b5e.zip
Remove unused code. Use #ifdef instead of #if some places. Add missing
2006-01-29 Kjartan Maraas <kmaraas@gnome.org> * gui/cert-trust-dialog.c: (ctd_response): * gui/certificate-viewer.c: (fill_in_general): * gui/component.c: * lib/e-cert-db.c: (initialize_nss), (default_nickname): * lib/e-cert-db.h: * lib/e-cert.c: (create_tbs_certificate_asn1_struct): * lib/e-pkcs12.c: (import_from_file_helper): Remove unused code. Use #ifdef instead of #if some places. Add missing header. svn path=/trunk/; revision=31368
Diffstat (limited to 'smime/gui')
-rw-r--r--smime/gui/cert-trust-dialog.c1
-rw-r--r--smime/gui/certificate-viewer.c1
-rw-r--r--smime/gui/component.c2
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>