aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-setup.c')
-rw-r--r--shell/e-setup.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/shell/e-setup.c b/shell/e-setup.c
index 6cd0726b2f..ce9389b781 100644
--- a/shell/e-setup.c
+++ b/shell/e-setup.c
@@ -303,11 +303,18 @@ e_setup_check_config (const char *evolution_directory)
{
GConfClient *client;
char *tmp;
+ gboolean present = FALSE;
client = gconf_client_get_default ();
tmp = gconf_client_get_string (client, "/apps/evolution/shell/default_folders/mail_uri", NULL);
- if (tmp != NULL && *tmp != 0) {
+ if (tmp != NULL) {
+ if (*tmp != 0)
+ present = TRUE;
+ g_free (tmp);
+ }
+
+ if (present) {
g_object_unref (client);
return;
}