diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2000-07-22 07:36:11 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2000-07-22 07:36:11 +0800 |
commit | be07467191d67eefb95fe9e435e3df8fb15df163 (patch) | |
tree | febced621e9d2a041ac53a2af17d224aec799de1 /shell/e-shell.c | |
parent | 44230f1ef78e54ec616982b827d5f25b916de291 (diff) | |
download | gsoc2013-evolution-be07467191d67eefb95fe9e435e3df8fb15df163.tar.gz gsoc2013-evolution-be07467191d67eefb95fe9e435e3df8fb15df163.tar.zst gsoc2013-evolution-be07467191d67eefb95fe9e435e3df8fb15df163.zip |
Fix a braino that caused Evolution to unref a NULL object when the
shortcut file was not found.
svn path=/trunk/; revision=4272
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r-- | shell/e-shell.c | 6 |
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); } |