The WebList should keep a reference to added items

This commit is contained in:
Christian Dywan 2008-07-21 15:57:10 +02:00
parent 15f4ab98d4
commit 6ebb81bf90

View file

@ -48,6 +48,7 @@ static void
_midori_web_list_add_item (MidoriWebList* web_list,
GObject* item)
{
g_object_ref (item);
web_list->items = g_list_append (web_list->items, item);
}