aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-tree.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-05-09 01:24:42 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-05-09 01:37:20 +0800
commit8a186c3588d3598857c36e2122fa68d01eba30fd (patch)
tree731078659d4e04af8346c5ca68512d8537b3707a /mail/em-folder-tree.c
parent2bf3460cd3eb0853a1d10a6e36f5091898a5533f (diff)
downloadgsoc2013-evolution-8a186c3588d3598857c36e2122fa68d01eba30fd.tar.gz
gsoc2013-evolution-8a186c3588d3598857c36e2122fa68d01eba30fd.tar.zst
gsoc2013-evolution-8a186c3588d3598857c36e2122fa68d01eba30fd.zip
Coding style cleanups.
Diffstat (limited to 'mail/em-folder-tree.c')
-rw-r--r--mail/em-folder-tree.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c
index 794586399c..43bf83c58c 100644
--- a/mail/em-folder-tree.c
+++ b/mail/em-folder-tree.c
@@ -194,7 +194,7 @@ folder_tree_get_folder_info__desc (struct _EMFolderTreeGetFolderInfo *m)
{
gchar *ret, *name;
- name = camel_service_get_name ((CamelService *)m->store, TRUE);
+ name = camel_service_get_name ((CamelService *) m->store, TRUE);
ret = g_strdup_printf(_("Scanning folders in \"%s\""), name);
g_free (name);
return ret;
@@ -1386,7 +1386,7 @@ folder_tree_new (EMFolderTree *folder_tree)
folder_tree_select_func, NULL, NULL);
gtk_tree_view_set_headers_visible ((GtkTreeView *) tree, FALSE);
- gtk_tree_view_set_search_column ((GtkTreeView *)tree, COL_STRING_DISPLAY_NAME);
+ gtk_tree_view_set_search_column ((GtkTreeView *) tree, COL_STRING_DISPLAY_NAME);
return (GtkTreeView *) tree;
}
@@ -1937,7 +1937,7 @@ folder_tree_drop_async__desc (struct _DragDataReceivedAsync *m)
data = gtk_selection_data_get_data (m->selection);
if (m->info == DND_DROP_TYPE_FOLDER) {
- url = camel_url_new ((gchar *)data, NULL);
+ url = camel_url_new ((gchar *) data, NULL);
if (m->move)
buf = g_strdup_printf (
@@ -2661,7 +2661,7 @@ em_folder_tree_get_selected_uris (EMFolderTree *folder_tree)
/* at first, add lost uris */
for (sl = folder_tree->priv->select_uris; sl; sl = g_slist_next (sl))
- list = g_list_append (list, g_strdup (((struct _selected_uri *)sl->data)->uri));
+ list = g_list_append (list, g_strdup (((struct _selected_uri *) sl->data)->uri));
rows = gtk_tree_selection_get_selected_rows (selection, &model);
for (l=rows; l; l=g_list_next (l)) {
@@ -2803,7 +2803,7 @@ em_folder_tree_set_selected (EMFolderTree *folder_tree,
g_return_if_fail (EM_IS_FOLDER_TREE (folder_tree));
if (uri && uri[0])
- l = g_list_append (l, (gpointer)uri);
+ l = g_list_append (l, (gpointer) uri);
em_folder_tree_set_selected_list (folder_tree, l, expand_only);
g_list_free (l);