summaryrefslogtreecommitdiff
path: root/src/nautilus-window-slot-dnd.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2011-03-21 14:36:04 -0400
committerCosimo Cecchi <cosimoc@gnome.org>2011-03-21 14:37:22 -0400
commite0726b71cbbe3ddd9548546991a30951ecc1f21e (patch)
tree333fea32e09246aabf61cd4b5f6a6651e54bf975 /src/nautilus-window-slot-dnd.c
parent2d71f734864647c23aa3e35374da9058beb0dc2e (diff)
downloadnautilus-e0726b71cbbe3ddd9548546991a30951ecc1f21e.tar.gz
slot: don't ref the view returned by _get_current_view()
https://bugzilla.gnome.org/show_bug.cgi?id=643968
Diffstat (limited to 'src/nautilus-window-slot-dnd.c')
-rw-r--r--src/nautilus-window-slot-dnd.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/nautilus-window-slot-dnd.c b/src/nautilus-window-slot-dnd.c
index f25b067b4..a94346297 100644
--- a/src/nautilus-window-slot-dnd.c
+++ b/src/nautilus-window-slot-dnd.c
@@ -263,10 +263,6 @@ slot_proxy_handle_drop (GtkWidget *widget,
gtk_drag_finish (context, FALSE, FALSE, time);
}
- if (target_view != NULL) {
- g_object_unref (target_view);
- }
-
g_free (target_uri);
drag_info_clear (drag_info);