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,7 +203,8 @@ 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);
|
||||||
g_object_unref (item);
|
else
|
||||||
|
g_object_unref (item);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in a new issue