diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | lib/ephy-state.c | 13 |
2 files changed, 14 insertions, 5 deletions
@@ -1,3 +1,9 @@ +2003-05-25 Marco Pesenti Gritti <marco@it.gnome.org> + + * lib/ephy-state.c: (ephy_state_save): + + Fix nautilus view crash + 2003-05-16 Christian Persch <chpe+gnomebugz@stud.uni-saarland.de> * src/window-commands.c: shift force reload diff --git a/lib/ephy-state.c b/lib/ephy-state.c index 90d06883c..1df65a642 100644 --- a/lib/ephy-state.c +++ b/lib/ephy-state.c @@ -437,9 +437,12 @@ ephy_state_add_paned (GtkWidget *paned, void ephy_state_save (void) { - ephy_states_save (); - ephy_node_unref (states); - g_object_unref (states_db); - states = NULL; - states_db = NULL; + if (states) + { + ephy_states_save (); + ephy_node_unref (states); + g_object_unref (states_db); + states = NULL; + states_db = NULL; + } } |