aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r--shell/e-shell.c6
1 files changed, 1 insertions, 5 deletions
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);
}