aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/e-shell.c6
2 files changed, 6 insertions, 5 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index e9db916d73..d2186f0230 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,5 +1,10 @@
2000-07-22 Ettore Perazzoli <ettore@helixcode.com>
+ * e-shell.c (e_shell_construct): Don't unref NULL shortcuts, you
+ idiot.
+
+2000-07-22 Ettore Perazzoli <ettore@helixcode.com>
+
* e-shell-view.c (e_shell_view_set_folder_bar_mode): Make the
title bar non-clickable when the folder tree is visible.
diff --git a/shell/e-shell.c b/shell/e-shell.c
index a7c0ca8c03..09ff9285fa 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -517,12 +517,8 @@ e_shell_construct (EShell *shell,
priv->folder_type_registry,
shortcut_path);
- if (priv->shortcuts == NULL) {
- gtk_object_unref (GTK_OBJECT (priv->shortcuts));
- priv->shortcuts = NULL;
-
+ if (priv->shortcuts == NULL)
g_warning ("Cannot load shortcuts -- %s", shortcut_path);
- }
g_free (shortcut_path);
}