The WebList should keep a reference to added items
This commit is contained in:
parent
15f4ab98d4
commit
6ebb81bf90
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue