Fix a braino that caused Evolution to unref a NULL object when the
shortcut file was not found. svn path=/trunk/; revision=4272
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user