aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks/ephy-bookmarks-editor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bookmarks/ephy-bookmarks-editor.c')
-rw-r--r--src/bookmarks/ephy-bookmarks-editor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c
index 93a4123cc..3f106fa4b 100644
--- a/src/bookmarks/ephy-bookmarks-editor.c
+++ b/src/bookmarks/ephy-bookmarks-editor.c
@@ -148,7 +148,7 @@ ephy_bookmarks_editor_dispose (GObject *object)
}
selected_id = ephy_node_get_id (EPHY_NODE (selection->data));
- if (selected_id > 0)
+ if (selected_id >= 0)
{
selected_id_str = g_strdup_printf ("%ld", selected_id);
eel_gconf_set_string (CONF_BOOKMARKS_SELECTED_NODE,