summaryrefslogtreecommitdiff
path: root/src/nautilus-window-slot.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2015-02-03 09:38:54 -0800
committerCosimo Cecchi <cosimoc@gnome.org>2015-02-03 09:38:54 -0800
commit20d93bd9821ee8229da8692e10a88dd77d05d12f (patch)
tree2fda80a48d02dc7659a67c36de017693a00c3bdc /src/nautilus-window-slot.c
parent982469e3ae060885b271ef193ca60dfc28e66749 (diff)
downloadnautilus-20d93bd9821ee8229da8692e10a88dd77d05d12f.tar.gz
window-slot: remove unused variable
Diffstat (limited to 'src/nautilus-window-slot.c')
-rw-r--r--src/nautilus-window-slot.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/nautilus-window-slot.c b/src/nautilus-window-slot.c
index c037cf306..70376fecb 100644
--- a/src/nautilus-window-slot.c
+++ b/src/nautilus-window-slot.c
@@ -2324,7 +2324,6 @@ nautilus_window_slot_connect_new_content_view (NautilusWindowSlot *slot)
static void
nautilus_window_slot_switch_new_content_view (NautilusWindowSlot *slot)
{
- NautilusWindow *window;
GtkWidget *widget;
if ((slot->details->new_content_view == NULL) ||
@@ -2332,8 +2331,6 @@ nautilus_window_slot_switch_new_content_view (NautilusWindowSlot *slot)
return;
}
- window = nautilus_window_slot_get_window (slot);
-
if (slot->details->content_view != NULL) {
widget = GTK_WIDGET (slot->details->content_view);
gtk_widget_destroy (widget);