Disconnect insertion when MidoriHistory finalizes
This commit is contained in:
parent
8015f39fe6
commit
71549af089
1 changed files with 2 additions and 2 deletions
|
@ -988,8 +988,8 @@ midori_history_finalize (GObject* object)
|
|||
if (history->app)
|
||||
g_object_unref (history->app);
|
||||
|
||||
/* FIXME: We don't unref items (last argument is FALSE) because
|
||||
our reference counting is incorrect. */
|
||||
g_signal_handlers_disconnect_by_func (history->array,
|
||||
midori_history_add_item_cb, history);
|
||||
g_object_unref (history->array);
|
||||
katze_assign (history->filter, NULL);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue