Commit 558e394a authored by Cosimo Cecchi's avatar Cosimo Cecchi

window: cleanup nautilus_window_go_home()

parent d9ce97b0
......@@ -601,7 +601,7 @@ action_new_window_callback (GtkAction *action,
application,
NULL,
gtk_window_get_screen (GTK_WINDOW (current_window)));
nautilus_window_go_home (new_window);
nautilus_window_slot_go_home (nautilus_window_get_active_slot (new_window), FALSE);
g_object_unref (application);
}
......
......@@ -407,14 +407,6 @@ nautilus_window_allow_reload (NautilusWindow *window, gboolean allow)
gtk_action_set_sensitive (action, allow);
}
void
nautilus_window_go_home (NautilusWindow *window)
{
g_return_if_fail (NAUTILUS_IS_WINDOW (window));
nautilus_window_slot_go_home (window->details->active_pane->active_slot, FALSE);
}
void
nautilus_window_prompt_for_location (NautilusWindow *window,
const char *initial)
......
......@@ -159,7 +159,6 @@ void nautilus_window_go_to_full (NautilusWindow *window
void nautilus_window_go_to_with_selection (NautilusWindow *window,
GFile *location,
GList *new_selection);
void nautilus_window_go_home (NautilusWindow *window);
void nautilus_window_new_tab (NautilusWindow *window);
void nautilus_window_go_up (NautilusWindow *window,
gboolean close_behind,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment