Commit 5c00b426 authored by Iain Lane's avatar Iain Lane Committed by Cosimo Cecchi

Remove extra location widgets when disposing NautilusWindowSlot

This causes the widgets to be properly destroyed before the NautilusView
is.

https://bugzilla.gnome.org/show_bug.cgi?id=702546
parent 499d1076
......@@ -2406,6 +2406,8 @@ nautilus_window_slot_dispose (GObject *object)
nautilus_window_slot_clear_forward_list (slot);
nautilus_window_slot_clear_back_list (slot);
nautilus_window_slot_remove_extra_location_widgets (slot);
if (slot->details->content_view) {
nautilus_window_disconnect_content_view (nautilus_window_slot_get_window (slot),
slot->details->content_view);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment