[nautilus/wip/csoriano/cleanups: 2/4] window-slot: remove wrong ref
- From: Carlos Soriano Sánchez <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/csoriano/cleanups: 2/4] window-slot: remove wrong ref
- Date: Wed, 9 Dec 2015 07:05:53 +0000 (UTC)
commit 95bd7f46e99c8fdcc84098a2f6a15d8187ae1639
Author: Carlos Soriano <csoriano gnome org>
Date: Tue Dec 8 14:48:01 2015 +0100
window-slot: remove wrong ref
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 a040952..36942fc 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]