summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nautilus-window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nautilus-window.c b/src/nautilus-window.c
index 41db065ce..1ee9310b6 100644
--- a/src/nautilus-window.c
+++ b/src/nautilus-window.c
@@ -359,6 +359,8 @@ nautilus_window_go_home (NautilusWindow *window)
{
char *home_uri;
+ g_return_if_fail (NAUTILUS_IS_WINDOW (window));
+
home_uri = nautilus_get_home_directory_uri ();
nautilus_window_open_location (window, home_uri, FALSE);
g_free (home_uri);