aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2007-07-01 03:21:37 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2007-07-01 03:21:37 +0800
commit74c572c44345631ed54b040334f7f8a715200663 (patch)
treeb217bbd8ee6f12a61dee88d9060c4d905c8a1d9d
parentcab6536ab3f91a5bde0ae4abe3dec8e17cf1e18d (diff)
downloadgsoc2013-evolution-74c572c44345631ed54b040334f7f8a715200663.tar
gsoc2013-evolution-74c572c44345631ed54b040334f7f8a715200663.tar.gz
gsoc2013-evolution-74c572c44345631ed54b040334f7f8a715200663.tar.bz2
gsoc2013-evolution-74c572c44345631ed54b040334f7f8a715200663.tar.lz
gsoc2013-evolution-74c572c44345631ed54b040334f7f8a715200663.tar.xz
gsoc2013-evolution-74c572c44345631ed54b040334f7f8a715200663.tar.zst
gsoc2013-evolution-74c572c44345631ed54b040334f7f8a715200663.zip
** Fix for bug #448970
svn path=/branches/gnome-2-18/; revision=33731
-rw-r--r--plugins/default-mailer/ChangeLog6
-rw-r--r--plugins/default-mailer/default-mailer.c5
2 files changed, 9 insertions, 2 deletions
diff --git a/plugins/default-mailer/ChangeLog b/plugins/default-mailer/ChangeLog
index 7e6e1d5f72..d1645f2f1f 100644
--- a/plugins/default-mailer/ChangeLog
+++ b/plugins/default-mailer/ChangeLog
@@ -1,3 +1,9 @@
+2007-07-01 Srinivasa Ragavan <sragavan@novell.com>
+
+ ** Fix for bug #448970
+
+ * default-mailer.c: (org_gnome_default_mailer_check_default):
+
2007-04-03 Sankar P <psankar@novell.com>
* Committed on behalf of Gilles Dartiguelongue <dartigug@esiee.fr>
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)) {