diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2012-06-02 20:35:58 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-06-02 20:35:58 +0800 |
commit | 184ec36d35db3c2e0377a1845390070a23a7cf64 (patch) | |
tree | fb23122a6421376ec6751baba95c4de73774ecdb | |
parent | f62371c4d736e1181fbbe0a8b8b05acbc0f7edca (diff) | |
download | gsoc2013-evolution-184ec36d35db3c2e0377a1845390070a23a7cf64.tar.gz gsoc2013-evolution-184ec36d35db3c2e0377a1845390070a23a7cf64.tar.zst gsoc2013-evolution-184ec36d35db3c2e0377a1845390070a23a7cf64.zip |
Fix an unused-but-set-variable warning.
-rw-r--r-- | modules/mail/e-mail-shell-backend.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/mail/e-mail-shell-backend.c b/modules/mail/e-mail-shell-backend.c index 709626bef5..2633b72e4e 100644 --- a/modules/mail/e-mail-shell-backend.c +++ b/modules/mail/e-mail-shell-backend.c @@ -711,8 +711,10 @@ void e_mail_shell_backend_new_account (EMailShellBackend *mail_shell_backend, GtkWindow *parent) { +#ifdef WITH_CAPPLET EShell *shell; EShellBackend *shell_backend; +#endif /* WITH_CAPPLET */ EMailShellBackendPrivate *priv; g_return_if_fail (mail_shell_backend != NULL); @@ -725,10 +727,10 @@ e_mail_shell_backend_new_account (EMailShellBackend *mail_shell_backend, return; } +#ifdef WITH_CAPPLET shell_backend = E_SHELL_BACKEND (mail_shell_backend); shell = e_shell_backend_get_shell (shell_backend); -#ifdef WITH_CAPPLET if (e_shell_get_express_mode (shell)) priv->assistant = mail_capplet_shell_new (0, TRUE, FALSE); #endif /* WITH_CAPPLET */ |