aboutsummaryrefslogtreecommitdiffstats
path: root/src/toolbar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/toolbar.c')
-rwxr-xr-xsrc/toolbar.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/toolbar.c b/src/toolbar.c
index e47ed7d8c..da506f8c4 100755
--- a/src/toolbar.c
+++ b/src/toolbar.c
@@ -119,12 +119,7 @@ toolbar_get_type (void)
static void
go_location_cb (EggAction *action, char *location, EphyWindow *window)
{
- EphyEmbed *embed;
-
- embed = ephy_window_get_active_embed (window);
- g_return_if_fail (embed != NULL);
-
- ephy_embed_load_url (embed, location);
+ ephy_window_load_url (window, location);
}
static void