aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-properties.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-09-12 02:56:28 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-09-13 20:28:58 +0800
commitcd53ba990035bdb4861d9660917d457533d4ecb2 (patch)
treed9c9da2208f4a921c514497ea92d27e3d88481d1 /mail/em-folder-properties.c
parentb2b27cfa1bfcd6efdac30d2745a6e8cd4e6de134 (diff)
downloadgsoc2013-evolution-cd53ba990035bdb4861d9660917d457533d4ecb2.tar
gsoc2013-evolution-cd53ba990035bdb4861d9660917d457533d4ecb2.tar.gz
gsoc2013-evolution-cd53ba990035bdb4861d9660917d457533d4ecb2.tar.bz2
gsoc2013-evolution-cd53ba990035bdb4861d9660917d457533d4ecb2.tar.lz
gsoc2013-evolution-cd53ba990035bdb4861d9660917d457533d4ecb2.tar.xz
gsoc2013-evolution-cd53ba990035bdb4861d9660917d457533d4ecb2.tar.zst
gsoc2013-evolution-cd53ba990035bdb4861d9660917d457533d4ecb2.zip
Coding style cleanups.
Diffstat (limited to 'mail/em-folder-properties.c')
-rw-r--r--mail/em-folder-properties.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/mail/em-folder-properties.c b/mail/em-folder-properties.c
index 529472b47a..d79e3f7c7f 100644
--- a/mail/em-folder-properties.c
+++ b/mail/em-folder-properties.c
@@ -54,19 +54,19 @@ static void
emfp_dialog_response (GtkWidget *dialog, gint response, struct _prop_data *prop_data)
{
if (response == GTK_RESPONSE_OK)
- e_config_commit((EConfig *)prop_data->config);
+ e_config_commit ((EConfig *)prop_data->config);
else
- e_config_abort((EConfig *)prop_data->config);
+ e_config_abort ((EConfig *)prop_data->config);
gtk_widget_destroy (dialog);
}
static void
-emfp_free(EConfig *ec, GSList *items, gpointer data)
+emfp_free (EConfig *ec, GSList *items, gpointer data)
{
struct _prop_data *prop_data = data;
- g_slist_free(items);
+ g_slist_free (items);
camel_object_state_write (prop_data->object);
g_object_unref (prop_data->object);
@@ -104,7 +104,7 @@ add_numbered_row (GtkTable *table, gint row, const gchar *description, const gch
}
static GtkWidget *
-emfp_get_folder_item(EConfig *ec, EConfigItem *item, GtkWidget *parent, GtkWidget *old, gpointer data)
+emfp_get_folder_item (EConfig *ec, EConfigItem *item, GtkWidget *parent, GtkWidget *old, gpointer data)
{
GObjectClass *class;
GParamSpec **properties;
@@ -253,7 +253,7 @@ emfp_dialog_got_folder_quota (CamelFolder *folder,
Do the calculation only for those accounts that support VTRASHes
*/
if (parent_store->flags & CAMEL_STORE_VTRASH) {
- if (CAMEL_IS_VTRASH_FOLDER(folder))
+ if (CAMEL_IS_VTRASH_FOLDER (folder))
prop_data->total += deleted;
else if (!hide_deleted && deleted > 0)
prop_data->total += deleted;
@@ -307,12 +307,12 @@ emfp_dialog_got_folder_quota (CamelFolder *folder,
prop_data->config = ec;
l = NULL;
for (i = 0; i < G_N_ELEMENTS (emfp_items); i++)
- l = g_slist_prepend(l, &emfp_items[i]);
- e_config_add_items((EConfig *)ec, l, NULL, NULL, emfp_free, prop_data);
+ l = g_slist_prepend (l, &emfp_items[i]);
+ e_config_add_items ((EConfig *)ec, l, NULL, NULL, emfp_free, prop_data);
- target = em_config_target_new_folder(ec, folder, folder_uri);
- e_config_set_target((EConfig *)ec, (EConfigTarget *)target);
- w = e_config_create_widget((EConfig *)ec);
+ target = em_config_target_new_folder (ec, folder, folder_uri);
+ e_config_set_target ((EConfig *)ec, (EConfigTarget *)target);
+ w = e_config_create_widget ((EConfig *)ec);
gtk_box_pack_start (GTK_BOX (content_area), w, TRUE, TRUE, 0);
@@ -357,7 +357,7 @@ em_folder_properties_show (EShellView *shell_view,
/* MORE HACK: UNMATCHED is a special folder which you can't modify, so check for it here */
if (url == NULL
|| url->fragment == NULL
- || strcmp(url->fragment, CAMEL_UNMATCHED_NAME) != 0) {
+ || strcmp (url->fragment, CAMEL_UNMATCHED_NAME) != 0) {
if (url)
camel_url_free (url);
vfolder_edit_rule (uri);
@@ -368,7 +368,7 @@ em_folder_properties_show (EShellView *shell_view,
}
if (folder == NULL)
- mail_get_folder(uri, 0, emfp_dialog_got_folder, shell_view, mail_msg_unordered_push);
+ mail_get_folder (uri, 0, emfp_dialog_got_folder, shell_view, mail_msg_unordered_push);
else
- emfp_dialog_got_folder((gchar *)uri, folder, shell_view);
+ emfp_dialog_got_folder ((gchar *)uri, folder, shell_view);
}