From 84d7c755a0216918b31ae5917c0cffd86d9cc870 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 27 Jul 2000 17:22:28 +0000 Subject: work with either gconf 0.5 or newer * main.c (idle_cb): work with either gconf 0.5 or newer svn path=/trunk/; revision=4396 --- shell/ChangeLog | 4 ++++ shell/main.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/shell/ChangeLog b/shell/ChangeLog index bdfab07c57..3909397ab7 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,7 @@ +2000-07-27 Dan Winship + + * main.c (idle_cb): work with either gconf 0.5 or newer + 2000-07-26 Peter Williams * e-storage.c (e_storage_new_folder): Fix tiny mem leak. 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); -- cgit