[evolution] Bug #586854 - Crash on File->Quit with empty_junk enabled
- From: Milan Crha <mcrha src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evolution] Bug #586854 - Crash on File->Quit with empty_junk enabled
- Date: Tue, 8 Sep 2009 09:04:36 +0000 (UTC)
commit 8ee8a244781d1df404c8ab8a6695ee3a63fe53ae
Author: Ritesh Khadgaray <khadgaray gmail com>
Date: Tue Sep 8 11:05:18 2009 +0200
Bug #586854 - Crash on File->Quit with empty_junk enabled
modules/mail/e-mail-shell-backend.c | 4 ++--
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 681fd68..d94d9e3 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]