aboutsummaryrefslogtreecommitdiffstats
path: root/src/window-commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window-commands.c')
-rw-r--r--src/window-commands.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/window-commands.c b/src/window-commands.c
index ace995d9d..3fb876513 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -38,7 +38,6 @@
#include "ephy-history-window.h"
#include "ephy-file-chooser.h"
#include "ephy-file-helpers.h"
-#include "ephy-toolbar.h"
#include "ephy-state.h"
#include "ephy-gui.h"
#include "ephy-zoom.h"
@@ -1447,11 +1446,9 @@ void
window_cmd_load_location (GtkAction *action,
EphyWindow *window)
{
- EphyToolbar *toolbar;
const char *location;
- toolbar = EPHY_TOOLBAR (ephy_window_get_toolbar (window));
- location = ephy_toolbar_get_location (toolbar);
+ location = ephy_window_get_location (window);
if (location)
{