From e70bc2cb752db09a1613d826e896fbc57269361c Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sun, 4 Jul 2010 23:59:01 +0200 Subject: [PATCH] Don't try to release references to dummy separator rows --- panels/midori-bookmarks.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/panels/midori-bookmarks.c b/panels/midori-bookmarks.c index 5e907950..0a1e7b36 100644 --- a/panels/midori-bookmarks.c +++ b/panels/midori-bookmarks.c @@ -203,7 +203,8 @@ midori_bookmarks_read_from_db_to_model (MidoriBookmarks* bookmarks, gtk_tree_model_get (GTK_TREE_MODEL (model), &child, 0, &item, -1); if (KATZE_ITEM_IS_SEPARATOR (item)) gtk_tree_store_remove (model, &child); - g_object_unref (item); + else + g_object_unref (item); } void