diff options
Diffstat (limited to 'src/toolbar.c')
-rwxr-xr-x | src/toolbar.c | 7 |
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 |