Don't try to release references to dummy separator rows

This commit is contained in:
Christian Dywan 2010-07-04 23:59:01 +02:00
parent 76ea968e20
commit e70bc2cb75

View file

@ -203,6 +203,7 @@ 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);
else
g_object_unref (item);
}