diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-05-09 01:24:42 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:42:11 +0800 |
commit | 54da4fc09cf226fdb59b9f0c70555e2e57dc1f91 (patch) | |
tree | c62c9ac6d08670dffc400ff00117508512ce4f8b /smime/gui/e-cert-selector.c | |
parent | fe20f70779fb486169a0735499d24e001ffa0cab (diff) | |
download | gsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.tar gsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.tar.gz gsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.tar.bz2 gsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.tar.lz gsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.tar.xz gsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.tar.zst gsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.zip |
Coding style cleanups.
Diffstat (limited to 'smime/gui/e-cert-selector.c')
-rw-r--r-- | smime/gui/e-cert-selector.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/smime/gui/e-cert-selector.c b/smime/gui/e-cert-selector.c index f20baa582c..c88f044e9b 100644 --- a/smime/gui/e-cert-selector.c +++ b/smime/gui/e-cert-selector.c @@ -91,7 +91,7 @@ e_cert_selector_response (GtkDialog *dialog, gint button) switch (button) { case GTK_RESPONSE_OK: - node = ecs_find_current ((ECertSelector *)dialog); + node = ecs_find_current ((ECertSelector *) dialog); break; default: node = NULL; @@ -117,7 +117,7 @@ ecs_cert_changed (GtkWidget *w, ECertSelector *ecs) g_string_append_printf(text, _("Issued by:\n Subject: %s\n"), node->cert->issuerName); } - buffer = gtk_text_view_get_buffer ((GtkTextView *)p->description); + buffer = gtk_text_view_get_buffer ((GtkTextView *) p->description); gtk_text_buffer_set_text (buffer, text->str, text->len); g_string_free (text, TRUE); } @@ -218,7 +218,7 @@ e_cert_selector_new (gint type, const gchar *currentid) static void e_cert_selector_init (ECertSelector *ecs) { - gtk_dialog_add_buttons ((GtkDialog *)ecs, + gtk_dialog_add_buttons ((GtkDialog *) ecs, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_OK, GTK_RESPONSE_OK, NULL); @@ -228,21 +228,21 @@ e_cert_selector_init (ECertSelector *ecs) static void e_cert_selector_finalise (GObject *o) { - ECertSelector *ecs = (ECertSelector *)o; + ECertSelector *ecs = (ECertSelector *) o; if (ecs->priv->certlist) CERT_DestroyCertList (ecs->priv->certlist); g_free (ecs->priv); - ((GObjectClass *)e_cert_selector_parent_class)->finalize (o); + ((GObjectClass *) e_cert_selector_parent_class)->finalize (o); } static void e_cert_selector_class_init (ECertSelectorClass *klass) { - ((GObjectClass *)klass)->finalize = e_cert_selector_finalise; - ((GtkDialogClass *)klass)->response = e_cert_selector_response; + ((GObjectClass *) klass)->finalize = e_cert_selector_finalise; + ((GtkDialogClass *) klass)->response = e_cert_selector_response; ecs_signals[ECS_SELECTED] = g_signal_new("selected", |