]> spindle.queued.net Git - midori/commitdiff
Actually remove old items from the trash again
authorChristian Dywan <christian@twotoasts.de>
Sat, 11 Oct 2008 01:36:57 +0000 (03:36 +0200)
committerChristian Dywan <christian@twotoasts.de>
Sat, 11 Oct 2008 01:36:57 +0000 (03:36 +0200)
midori/main.c

index bb6e4ed3d242d5a9d47905644458cbdd0e3c220e..ffb414be9144ce1c80fe957ee3a442bdd6ab158a 100644 (file)
@@ -361,7 +361,7 @@ midori_web_list_add_item_cb (KatzeArray* trash,
     if (n > 10)
     {
         obsolete_item = katze_array_get_nth_item (trash, 0);
-        g_object_unref (obsolete_item);
+        katze_array_remove_item (trash, obsolete_item);
     }
 }