aboutsummaryrefslogtreecommitdiffstats
path: root/src/popup-commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/popup-commands.c')
-rw-r--r--src/popup-commands.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/popup-commands.c b/src/popup-commands.c
index 8771274c6..7756f9daf 100644
--- a/src/popup-commands.c
+++ b/src/popup-commands.c
@@ -196,7 +196,7 @@ popup_cmd_frame_in_new_tab (GtkAction *action,
embed = ephy_window_get_active_embed (window);
- ephy_embed_get_location (embed, FALSE, &location);
+ location = ephy_embed_get_location (embed, FALSE);
ephy_shell_new_tab (ephy_shell, window, tab,
location,
@@ -218,7 +218,7 @@ popup_cmd_frame_in_new_window (GtkAction *action,
embed = ephy_window_get_active_embed (window);
- ephy_embed_get_location (embed, FALSE, &location);
+ location = ephy_embed_get_location (embed, FALSE);
ephy_shell_new_tab (ephy_shell, NULL, tab,
location,
@@ -428,7 +428,7 @@ popup_cmd_open_frame (GtkAction *action,
embed = ephy_window_get_active_embed (window);
g_return_if_fail (embed != NULL);
- ephy_embed_get_location (embed, FALSE, &location);
+ location = ephy_embed_get_location (embed, FALSE);
ephy_embed_load_url (embed, location);