diff options
author | Carlos Soriano <csoriano@gnome.org> | 2015-12-08 14:48:01 +0100 |
---|---|---|
committer | Carlos Soriano <csoriano@gnome.org> | 2015-12-08 14:48:01 +0100 |
commit | 95bd7f46e99c8fdcc84098a2f6a15d8187ae1639 (patch) | |
tree | 6a14ddc34054b6780703acf96464925488b6891b | |
parent | 5b05a987ef818fe55d71bfc3397adb25a472449c (diff) | |
download | nautilus-95bd7f46e99c8fdcc84098a2f6a15d8187ae1639.tar.gz |
window-slot: remove wrong ref
-rw-r--r-- | src/nautilus-window-slot.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/nautilus-window-slot.c b/src/nautilus-window-slot.c index a040952de..36942fcfc 100644 --- a/src/nautilus-window-slot.c +++ b/src/nautilus-window-slot.c @@ -2277,12 +2277,6 @@ nautilus_window_slot_dispose (GObject *object) nautilus_window_slot_set_viewed_file (slot, NULL); - if (slot->details->location) { - /* TODO? why do we ref here, instead of unreffing? - * It was already here before the slot migration, though */ - g_object_ref (slot->details->location); - } - if (slot->details->view_mode_before_search) { g_free (slot->details->view_mode_before_search); slot->details->view_mode_before_search = NULL; |