diff options
Diffstat (limited to 'src/window-commands.c')
-rw-r--r-- | src/window-commands.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/window-commands.c b/src/window-commands.c index 74d7779f8..10e154293 100644 --- a/src/window-commands.c +++ b/src/window-commands.c @@ -156,16 +156,11 @@ void window_cmd_go_home (EggAction *action, EphyWindow *window) { - EphyEmbed *embed; char *location; - embed = ephy_window_get_active_embed (window); - g_return_if_fail (embed != NULL); - location = eel_gconf_get_string (CONF_GENERAL_HOMEPAGE); - g_return_if_fail (location != NULL); - ephy_embed_load_url (embed, location); + ephy_window_load_url (window, location ? location : "about:blank"); g_free (location); } |