[nautilus/gnome-3-8] Remove extra location widgets when disposing NautilusWindowSlot
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/gnome-3-8] Remove extra location widgets when disposing NautilusWindowSlot
- Date: Tue, 25 Jun 2013 17:08:20 +0000 (UTC)
commit e294199ae618c5184a4ba0aa2ca52b115d3e16da
Author: Iain Lane <iain lane canonical com>
Date: Thu Jun 20 11:32:16 2013 +0100
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
src/nautilus-window-slot.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-window-slot.c b/src/nautilus-window-slot.c
index 6573c68..23cef44 100644
--- a/src/nautilus-window-slot.c
+++ b/src/nautilus-window-slot.c
@@ -2418,6 +2418,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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]