aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mail/em-mailer-prefs.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-05-09 01:24:42 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:42:11 +0800
commit54da4fc09cf226fdb59b9f0c70555e2e57dc1f91 (patch)
treec62c9ac6d08670dffc400ff00117508512ce4f8b /modules/mail/em-mailer-prefs.c
parentfe20f70779fb486169a0735499d24e001ffa0cab (diff)
downloadgsoc2013-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 'modules/mail/em-mailer-prefs.c')
-rw-r--r--modules/mail/em-mailer-prefs.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/modules/mail/em-mailer-prefs.c b/modules/mail/em-mailer-prefs.c
index c651cdee77..18b5a1d00b 100644
--- a/modules/mail/em-mailer-prefs.c
+++ b/modules/mail/em-mailer-prefs.c
@@ -263,7 +263,7 @@ jh_remove_cb (GtkWidget *widget, gpointer user_data)
gconf_client_set_list (prefs->gconf, "/apps/evolution/mail/junk/custom_header", GCONF_VALUE_STRING, list, NULL);
- g_slist_foreach (list, (GFunc)g_free, NULL);
+ g_slist_foreach (list, (GFunc) g_free, NULL);
g_slist_free (list);
g_free (name);
g_free (value);
@@ -425,7 +425,7 @@ emmp_header_add_header (GtkWidget *widget, EMMailerPrefs *prefs)
GtkTreeIter iter;
const gchar *text = gtk_entry_get_text (prefs->entry_header);
- g_strstrip ((gchar *)text);
+ g_strstrip ((gchar *) text);
if (text && (strlen (text)>0)) {
gtk_list_store_append (GTK_LIST_STORE (model), &iter);
@@ -692,7 +692,7 @@ junk_plugin_changed (GtkWidget *combo, EMMailerPrefs *prefs)
CAMEL_SESSION (prefs->session)->junk_plugin =
CAMEL_JUNK_PLUGIN (&iface->camel);
status = e_plugin_invoke (iface->hook->plugin, iface->validate_binary, NULL) != NULL;
- if ((gboolean)status == TRUE) {
+ if ((gboolean) status == TRUE) {
gchar *text, *html;
gtk_image_set_from_stock (prefs->plugin_image, "gtk-dialog-info", GTK_ICON_SIZE_MENU);
text = g_strdup_printf (_("%s plugin is available and the binary is installed."), iface->plugin_name);
@@ -736,7 +736,7 @@ junk_plugin_setup (GtkComboBox *combo_box, EMMailerPrefs *prefs)
"text", 0,
NULL);
- if (!plugins || !g_list_length ((GList *)plugins)) {
+ if (!plugins || !g_list_length ((GList *) plugins)) {
GtkTreeIter iter;
gtk_list_store_append (store, &iter);
@@ -835,7 +835,7 @@ em_mailer_prefs_construct (EMMailerPrefs *prefs,
l = NULL;
for (i = 0; i < G_N_ELEMENTS (emmp_items); i++)
l = g_slist_prepend (l, &emmp_items[i]);
- e_config_add_items ((EConfig *)ec, l, NULL, NULL, emmp_free, prefs);
+ e_config_add_items ((EConfig *) ec, l, NULL, NULL, emmp_free, prefs);
/* General tab */
@@ -1198,7 +1198,7 @@ em_mailer_prefs_construct (EMMailerPrefs *prefs,
junk_book_lookup_button_toggled (prefs->junk_book_lookup, prefs);
- prefs->junk_header_list_store = init_junk_tree ((GtkWidget *)prefs->junk_header_tree, prefs);
+ prefs->junk_header_list_store = init_junk_tree ((GtkWidget *) prefs->junk_header_tree, prefs);
toggle_button_init (prefs, prefs->junk_header_check, FALSE,
"/apps/evolution/mail/junk/check_custom_header",
G_CALLBACK (custom_junk_button_toggled));
@@ -1210,8 +1210,8 @@ em_mailer_prefs_construct (EMMailerPrefs *prefs,
/* get our toplevel widget */
target = em_config_target_new_prefs (ec, prefs->gconf);
- e_config_set_target ((EConfig *)ec, (EConfigTarget *)target);
- toplevel = e_config_create_widget ((EConfig *)ec);
+ e_config_set_target ((EConfig *) ec, (EConfigTarget *) target);
+ toplevel = e_config_create_widget ((EConfig *) ec);
gtk_container_add (GTK_CONTAINER (prefs), toplevel);
}