Don't try to release references to dummy separator rows
This commit is contained in:
parent
76ea968e20
commit
e70bc2cb75
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
gtk_tree_model_get (GTK_TREE_MODEL (model), &child, 0, &item, -1);
|
||||||
if (KATZE_ITEM_IS_SEPARATOR (item))
|
if (KATZE_ITEM_IS_SEPARATOR (item))
|
||||||
gtk_tree_store_remove (model, &child);
|
gtk_tree_store_remove (model, &child);
|
||||||
|
else
|
||||||
g_object_unref (item);
|
g_object_unref (item);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue