From 0e41bd2003b365a6ccb4618ec3d93575e4c367dd Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Sat, 30 Jun 2007 19:21:59 +0000 Subject: ** Fix for bug #448970 svn path=/trunk/; revision=33732 --- plugins/default-mailer/ChangeLog | 6 ++++++ plugins/default-mailer/default-mailer.c | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/plugins/default-mailer/ChangeLog b/plugins/default-mailer/ChangeLog index 4c98aba9d0..db55852ce4 100644 --- a/plugins/default-mailer/ChangeLog +++ b/plugins/default-mailer/ChangeLog @@ -1,3 +1,9 @@ +2007-07-01 Srinivasa Ragavan + + ** Fix for bug #448970 + + * default-mailer.c: (org_gnome_default_mailer_check_default): + 2007-06-03 Srinivasa Ragavan ** Fix for version removal from Installed files from Gilles Dartiguelongue diff --git a/plugins/default-mailer/default-mailer.c b/plugins/default-mailer/default-mailer.c index a8a1b8d037..b75673d8f6 100644 --- a/plugins/default-mailer/default-mailer.c +++ b/plugins/default-mailer/default-mailer.c @@ -76,9 +76,10 @@ org_gnome_default_mailer_check_default (EPlugin *ep, ESEventTargetUpgrade *targe /* See whether the check default mailer key has already been set */ is_key = gconf_client_get(client, GCONF_KEY_CHECKDEFAULT, NULL); - if(!is_key) + if(!is_key) { gconf_client_set_bool(client, GCONF_KEY_CHECKDEFAULT, TRUE, NULL); - gconf_value_free (is_key); + gconf_value_free (is_key); + } /* Check whether we're supposed to check whether or not we are the default mailer */ if(gconf_client_get_bool(client, GCONF_KEY_CHECKDEFAULT, NULL)) { -- cgit