aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-08-21 03:08:55 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-08-21 03:08:55 +0800
commit8346dd4f6c6d4ee5b38cf343afa7cdc784adb258 (patch)
tree599bab48dbffb682c5ff84368320f07acec04046 /shell
parentbeba0c1009c68555b294c8ec18f1ecd49a0f184f (diff)
downloadgsoc2013-evolution-8346dd4f6c6d4ee5b38cf343afa7cdc784adb258.tar
gsoc2013-evolution-8346dd4f6c6d4ee5b38cf343afa7cdc784adb258.tar.gz
gsoc2013-evolution-8346dd4f6c6d4ee5b38cf343afa7cdc784adb258.tar.bz2
gsoc2013-evolution-8346dd4f6c6d4ee5b38cf343afa7cdc784adb258.tar.lz
gsoc2013-evolution-8346dd4f6c6d4ee5b38cf343afa7cdc784adb258.tar.xz
gsoc2013-evolution-8346dd4f6c6d4ee5b38cf343afa7cdc784adb258.tar.zst
gsoc2013-evolution-8346dd4f6c6d4ee5b38cf343afa7cdc784adb258.zip
Don't free the returned displayname.
* e-shell-startup-wizard.c (finish_func): Don't free the returned displayname. svn path=/trunk/; revision=12318
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/e-shell-startup-wizard.c6
2 files changed, 7 insertions, 4 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 0b7e748184..72552e5af1 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,5 +1,10 @@
2001-08-20 Ettore Perazzoli <ettore@ximian.com>
+ * e-shell-startup-wizard.c (finish_func): Don't free the returned
+ displayname.
+
+2001-08-20 Ettore Perazzoli <ettore@ximian.com>
+
* e-shell-view.c (pop_up_folder_bar): Make sure we display a pin
when we are popped up.
diff --git a/shell/e-shell-startup-wizard.c b/shell/e-shell-startup-wizard.c
index 18b7b59287..3ea14180ab 100644
--- a/shell/e-shell-startup-wizard.c
+++ b/shell/e-shell-startup-wizard.c
@@ -301,12 +301,10 @@ finish_func (GnomeDruidPage *page,
CORBA_exception_init (&ev);
e_timezone_dialog_get_timezone (E_TIMEZONE_DIALOG (data->timezone_page->etd), &displayname);
- if (displayname == NULL) {
+ if (displayname == NULL)
tz = g_strdup ("");
- } else {
+ else
tz = g_strdup (displayname);
- g_free (displayname);
- }
bonobo_config_set_string (data->db, "/Calendar/Display/Timezone", tz, &ev);
g_free (tz);