diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-09-12 02:56:28 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-09-13 20:28:58 +0800 |
commit | cd53ba990035bdb4861d9660917d457533d4ecb2 (patch) | |
tree | d9c9da2208f4a921c514497ea92d27e3d88481d1 /mail/em-folder-tree-model.c | |
parent | b2b27cfa1bfcd6efdac30d2745a6e8cd4e6de134 (diff) | |
download | gsoc2013-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-tree-model.c')
-rw-r--r-- | mail/em-folder-tree-model.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mail/em-folder-tree-model.c b/mail/em-folder-tree-model.c index 82620f76ab..62e8e1b468 100644 --- a/mail/em-folder-tree-model.c +++ b/mail/em-folder-tree-model.c @@ -218,7 +218,7 @@ account_changed_cb (EAccountList *accounts, if (!account->enabled ||!(uri = account->source->url)) return; - if (!(provider = camel_provider_get(uri, NULL))) + if (!(provider = camel_provider_get (uri, NULL))) return; /* make sure the new store belongs in the tree */ @@ -717,7 +717,7 @@ em_folder_tree_model_set_folder_info (EMFolderTreeModel *model, if (camel_store_folder_uri_equal (si->store, fi->uri, curi)) { add_flags = CAMEL_FOLDER_TYPE_SENT; } - g_free(curi); + g_free (curi); } } @@ -832,9 +832,9 @@ folder_subscribed (CamelStore *store, goto done; /* Get our parent folder's path. */ - dirname = g_alloca(strlen(fi->full_name)+1); - strcpy(dirname, fi->full_name); - p = strrchr(dirname, '/'); + dirname = g_alloca (strlen (fi->full_name)+1); + strcpy (dirname, fi->full_name); + p = strrchr (dirname, '/'); if (p == NULL) { /* User subscribed to a toplevel folder. */ reference = si->row; @@ -998,7 +998,7 @@ folder_renamed (CamelStore *store, em_folder_tree_model_remove_folders (model, si, &iter); parent = g_strdup (info->new->full_name); - p = strrchr(parent, '/'); + p = strrchr (parent, '/'); if (p) *p = 0; if (p == NULL || parent == p) |