summaryrefslogtreecommitdiff
path: root/panels
diff options
context:
space:
mode:
authorAndré Auzi <aauzi@free.fr>2014-02-26 22:22:00 +0100
committerAndré Auzi <aauzi@free.fr>2014-02-26 22:22:00 +0100
commit66a8b1bea6075df49adf4a1616c87f37d27098fd (patch)
tree9208ccd15b8ec738691b61c1c8c16b2718d90682 /panels
parentc1c5037b64fee65edbb6a983df7a008c47b4d65c (diff)
downloadmidori-66a8b1bea6075df49adf4a1616c87f37d27098fd.tar.gz
properly commit bookmarks-db signleton to the application
Diffstat (limited to 'panels')
-rw-r--r--panels/midori-bookmarks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/panels/midori-bookmarks.c b/panels/midori-bookmarks.c
index 91e27e5d..701b8e15 100644
--- a/panels/midori-bookmarks.c
+++ b/panels/midori-bookmarks.c
@@ -370,7 +370,7 @@ midori_bookmarks_add_item (KatzeItem* item,
GtkTreeModel* model = gtk_tree_view_get_model (GTK_TREE_VIEW (bookmarks->treeview));
GtkTreeIter iter;
- if (!parentid)
+ if (parentid == -1)
{
midori_bookmarks_add_item_to_model (GTK_TREE_STORE (model), NULL, item);
}