aboutsummaryrefslogtreecommitdiffstats
path: root/shell/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/main.c')
-rw-r--r--shell/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/main.c b/shell/main.c
index cdad9f76c9..352773e45f 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -114,7 +114,11 @@ idle_cb (gpointer data)
evolution_directory = (char *) data;
+#ifdef HAVE_GCONF_CLIENT_GET_DEFAULT
gconf_client = gconf_client_get_default ();
+#else
+ gconf_client = gconf_client_new ();
+#endif
shell = e_shell_new (evolution_directory, gconf_client);
g_free (evolution_directory);