window: remove redundant code

We already do this check in NautilusNotebook's remove implementation.
This commit is contained in:
Cosimo Cecchi 2012-08-31 21:13:05 -04:00
parent 1f9a07a1c3
commit 109d00336b

View file

@ -336,9 +336,6 @@ close_slot (NautilusWindow *window,
g_signal_handlers_unblock_by_func (notebook,
G_CALLBACK (notebook_switch_page_cb),
window);
gtk_notebook_set_show_tabs (notebook,
gtk_notebook_get_n_pages (notebook) > 1);
}
NautilusWindowSlot *