aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorRitesh Khadgaray <khadgaray@gmail.com>2009-09-08 17:05:18 +0800
committerMilan Crha <mcrha@redhat.com>2009-09-08 17:05:18 +0800
commit8ee8a244781d1df404c8ab8a6695ee3a63fe53ae (patch)
treea563a74f89453f8180112b6846fc4e04ac15df69 /modules
parent70e2b1a2d9f2cc8ba548af8d93bcba6e0451018c (diff)
downloadgsoc2013-evolution-8ee8a244781d1df404c8ab8a6695ee3a63fe53ae.tar
gsoc2013-evolution-8ee8a244781d1df404c8ab8a6695ee3a63fe53ae.tar.gz
gsoc2013-evolution-8ee8a244781d1df404c8ab8a6695ee3a63fe53ae.tar.bz2
gsoc2013-evolution-8ee8a244781d1df404c8ab8a6695ee3a63fe53ae.tar.lz
gsoc2013-evolution-8ee8a244781d1df404c8ab8a6695ee3a63fe53ae.tar.xz
gsoc2013-evolution-8ee8a244781d1df404c8ab8a6695ee3a63fe53ae.tar.zst
gsoc2013-evolution-8ee8a244781d1df404c8ab8a6695ee3a63fe53ae.zip
Bug #586854 - Crash on File->Quit with empty_junk enabled
Diffstat (limited to 'modules')
-rw-r--r--modules/mail/e-mail-shell-backend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mail/e-mail-shell-backend.c b/modules/mail/e-mail-shell-backend.c
index 681fd68a74..d94d9e318f 100644
--- a/modules/mail/e-mail-shell-backend.c
+++ b/modules/mail/e-mail-shell-backend.c
@@ -575,7 +575,7 @@ mail_shell_backend_prepare_for_quit_cb (EShell *shell,
if (empty_junk) {
key = "/apps/evolution/mail/junk/empty_on_exit_days";
empty_days = gconf_client_get_int (client, key, &error);
- if (error == NULL) {
+ if (error != NULL) {
g_warning ("%s", error->message);
g_clear_error (&error);
empty_trash = FALSE;
@@ -585,7 +585,7 @@ mail_shell_backend_prepare_for_quit_cb (EShell *shell,
if (empty_junk) {
key = "/apps/evolution/mail/junk/empty_date";
empty_date = gconf_client_get_int (client, key, &error);
- if (error == NULL) {
+ if (error != NULL) {
g_warning ("%s", error->message);
g_clear_error (&error);
empty_trash = FALSE;