aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-toolbar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-toolbar.c')
-rw-r--r--src/ephy-toolbar.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ephy-toolbar.c b/src/ephy-toolbar.c
index 613a52463..0ca828670 100644
--- a/src/ephy-toolbar.c
+++ b/src/ephy-toolbar.c
@@ -22,6 +22,7 @@
#include "config.h"
+#include "ephy-embed-container.h"
#include "ephy-toolbar.h"
#include "ephy-link.h"
#include "ephy-go-action.h"
@@ -175,7 +176,7 @@ sync_user_input_cb (EphyLocationAction *action,
if (priv->updating_address) return;
- embed = ephy_window_get_active_tab (priv->window);
+ embed = ephy_embed_container_get_active_child (EPHY_EMBED_CONTAINER (priv->window));
g_assert (EPHY_IS_EMBED (embed));
address = ephy_location_action_get_address (action);