aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mail/e-mail-shell-backend.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-02-19 08:35:59 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-02-19 09:44:24 +0800
commitfcb29478f605deb787c62fc7567c5c7f897585bb (patch)
treeec765625b528f38d34c0b1795abb588227b1d95b /modules/mail/e-mail-shell-backend.c
parent1b25ab52f7709a0eae7493fb933fa62376ead288 (diff)
downloadgsoc2013-evolution-fcb29478f605deb787c62fc7567c5c7f897585bb.tar
gsoc2013-evolution-fcb29478f605deb787c62fc7567c5c7f897585bb.tar.gz
gsoc2013-evolution-fcb29478f605deb787c62fc7567c5c7f897585bb.tar.bz2
gsoc2013-evolution-fcb29478f605deb787c62fc7567c5c7f897585bb.tar.lz
gsoc2013-evolution-fcb29478f605deb787c62fc7567c5c7f897585bb.tar.xz
gsoc2013-evolution-fcb29478f605deb787c62fc7567c5c7f897585bb.tar.zst
gsoc2013-evolution-fcb29478f605deb787c62fc7567c5c7f897585bb.zip
Coding style and whitespace cleanup.
Diffstat (limited to 'modules/mail/e-mail-shell-backend.c')
-rw-r--r--modules/mail/e-mail-shell-backend.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/modules/mail/e-mail-shell-backend.c b/modules/mail/e-mail-shell-backend.c
index 601b8e0c25..d5096c6185 100644
--- a/modules/mail/e-mail-shell-backend.c
+++ b/modules/mail/e-mail-shell-backend.c
@@ -117,11 +117,17 @@ action_mail_folder_new_cb (GtkAction *action,
view_name = e_shell_window_get_active_view (shell_window);
if (g_strcmp0 (view_name, BACKEND_NAME) != 0) {
EShellBackend *mail_backend;
+ EShell *shell;
- mail_backend = e_shell_get_backend_by_name (e_shell_window_get_shell (shell_window), BACKEND_NAME);
+ shell = e_shell_window_get_shell (shell_window);
+
+ mail_backend =
+ e_shell_get_backend_by_name (shell, BACKEND_NAME);
g_return_if_fail (mail_backend != NULL);
- mail_session = e_mail_backend_get_session (E_MAIL_BACKEND (mail_backend));
+ mail_session =
+ e_mail_backend_get_session (
+ E_MAIL_BACKEND (mail_backend));
g_return_if_fail (mail_session != NULL);
goto exit;