aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mail
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mail')
-rw-r--r--modules/mail/em-composer-prefs.c6
-rw-r--r--modules/mail/em-mailer-prefs.c16
-rw-r--r--modules/mail/em-network-prefs.c16
3 files changed, 19 insertions, 19 deletions
diff --git a/modules/mail/em-composer-prefs.c b/modules/mail/em-composer-prefs.c
index 35be54525b..a3e5bfae7f 100644
--- a/modules/mail/em-composer-prefs.c
+++ b/modules/mail/em-composer-prefs.c
@@ -347,7 +347,7 @@ em_composer_prefs_construct (EMComposerPrefs *prefs,
l = NULL;
for (i = 0; i < G_N_ELEMENTS (emcp_items); i++)
l = g_slist_prepend (l, &emcp_items[i]);
- e_config_add_items ((EConfig *)ec, l, NULL, NULL, emcp_free, prefs);
+ e_config_add_items ((EConfig *) ec, l, NULL, NULL, emcp_free, prefs);
/* General tab */
@@ -574,8 +574,8 @@ em_composer_prefs_construct (EMComposerPrefs *prefs,
/* get our toplevel widget */
client = gconf_client_get_default ();
target = em_config_target_new_prefs (ec, client);
- 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);
g_object_unref (client);
}
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);
}
diff --git a/modules/mail/em-network-prefs.c b/modules/mail/em-network-prefs.c
index f216d81c28..3094f15f47 100644
--- a/modules/mail/em-network-prefs.c
+++ b/modules/mail/em-network-prefs.c
@@ -207,11 +207,11 @@ widget_entry_changed_cb (GtkWidget *widget, gpointer data)
*/
if (GTK_IS_SPIN_BUTTON (widget)) {
port = gtk_spin_button_get_value_as_int (GTK_SPIN_BUTTON (widget));
- gconf_client_set_int (client, (const gchar *)data, port, NULL);
+ gconf_client_set_int (client, (const gchar *) data, port, NULL);
d(g_print ("%s:%s: %s is SpinButton: value = [%d]\n", G_STRLOC, G_STRFUNC, (const gchar *)data, port));
} else if (GTK_IS_ENTRY (widget)) {
value = gtk_entry_get_text (GTK_ENTRY (widget));
- gconf_client_set_string (client, (const gchar *)data, value, NULL);
+ gconf_client_set_string (client, (const gchar *) data, value, NULL);
d(g_print ("%s:%s: %s is Entry: value = [%s]\n", G_STRLOC, G_STRFUNC, (const gchar *)data, value));
}
@@ -328,7 +328,7 @@ em_network_prefs_construct (EMNetworkPrefs *prefs)
l = NULL;
for (i = 0; i < G_N_ELEMENTS (emnp_items); i++)
l = g_slist_prepend (l, &emnp_items[i]);
- e_config_add_items ((EConfig *)ec, l, NULL, NULL, emnp_free, prefs);
+ e_config_add_items ((EConfig *) ec, l, NULL, NULL, emnp_free, prefs);
/* Proxy tab */
@@ -480,10 +480,10 @@ em_network_prefs_construct (EMNetworkPrefs *prefs)
g_free (buf);
port = gconf_client_get_int (prefs->gconf, GCONF_E_HTTP_PORT_KEY, NULL);
- gtk_spin_button_set_value (prefs->http_port, (gdouble)port);
+ gtk_spin_button_set_value (prefs->http_port, (gdouble) port);
port = gconf_client_get_int (prefs->gconf, GCONF_E_HTTPS_PORT_KEY, NULL);
- gtk_spin_button_set_value (prefs->https_port, (gdouble)port);
+ gtk_spin_button_set_value (prefs->https_port, (gdouble) port);
#if 0
buf = gconf_client_get_string (prefs->gconf, GCONF_E_SOCKS_HOST_KEY, NULL);
@@ -491,7 +491,7 @@ em_network_prefs_construct (EMNetworkPrefs *prefs)
g_free (buf);
port = gconf_client_get_int (prefs->gconf, GCONF_E_SOCKS_PORT_KEY, NULL);
- gtk_spin_button_set_value (prefs->socks_port, (gdouble)port);
+ gtk_spin_button_set_value (prefs->socks_port, (gdouble) port);
#endif
emnp_set_markups (prefs);
@@ -509,8 +509,8 @@ em_network_prefs_construct (EMNetworkPrefs *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);
}