]> spindle.queued.net Git - midori/commitdiff
Don't try to release references to dummy separator rows
authorChristian Dywan <christian@twotoasts.de>
Sun, 4 Jul 2010 21:59:01 +0000 (23:59 +0200)
committerChristian Dywan <christian@twotoasts.de>
Sun, 4 Jul 2010 22:00:26 +0000 (00:00 +0200)
panels/midori-bookmarks.c

index 5e9079502666cebd60fbfc4ddd8533aa2f4a3446..0a1e7b360f3f5fb17a5b4536847a098338ff1f83 100644 (file)
@@ -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