summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorey Berla <corey@berla.me>2023-01-03 14:02:52 -0800
committerAntónio Fernandes <antoniof@gnome.org>2023-03-04 23:43:30 +0000
commitee8decb3ed25e7358c0c02d60697211b02cd633e (patch)
tree84e455ea4a0e74b241ced660b2519be521e52806
parentbf8eb76b90bf906107c81fb7e2ca968ab91ba56d (diff)
downloadnautilus-ee8decb3ed25e7358c0c02d60697211b02cd633e.tar.gz
Revert "window-slot: Unref new location"
This reverts commit d45b820d4a082287ef52f538fc001009ad5204e1. This commit causes a crash.
-rw-r--r--src/nautilus-window-slot.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nautilus-window-slot.c b/src/nautilus-window-slot.c
index adb9ebb35..c06dc3432 100644
--- a/src/nautilus-window-slot.c
+++ b/src/nautilus-window-slot.c
@@ -2587,8 +2587,6 @@ nautilus_window_slot_update_for_new_location (NautilusWindowSlot *self)
nautilus_window_slot_set_location (self, new_location);
- g_object_unref (new_location);
-
/* Sync the actions for this new location. */
nautilus_window_slot_sync_actions (self);
}