From: Christian Dywan Date: Sun, 4 Jul 2010 21:59:01 +0000 (+0200) Subject: Don't try to release references to dummy separator rows X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e70bc2cb752db09a1613d826e896fbc57269361c;p=midori Don't try to release references to dummy separator rows --- 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