aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-favorites-menu.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-06-26 23:47:41 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-06-26 23:47:41 +0800
commit9dbfd9b34b6dab67863392504c221e0c6f0eb4a2 (patch)
tree4869be653b0d9cac359f289b1e067533713f5cb0 /src/ephy-favorites-menu.c
parentbd886bd75b0f49f350d479ca1e6c57e6a7451f73 (diff)
downloadgsoc2013-epiphany-9dbfd9b34b6dab67863392504c221e0c6f0eb4a2.tar
gsoc2013-epiphany-9dbfd9b34b6dab67863392504c221e0c6f0eb4a2.tar.gz
gsoc2013-epiphany-9dbfd9b34b6dab67863392504c221e0c6f0eb4a2.tar.bz2
gsoc2013-epiphany-9dbfd9b34b6dab67863392504c221e0c6f0eb4a2.tar.lz
gsoc2013-epiphany-9dbfd9b34b6dab67863392504c221e0c6f0eb4a2.tar.xz
gsoc2013-epiphany-9dbfd9b34b6dab67863392504c221e0c6f0eb4a2.tar.zst
gsoc2013-epiphany-9dbfd9b34b6dab67863392504c221e0c6f0eb4a2.zip
Use window_load_url when useful. Right now just a cleanup but will be
2003-06-26 Marco Pesenti Gritti <marco@it.gnome.org> * src/bookmarks/ephy-bookmarks-menu.c: (go_location_cb): * src/ephy-favorites-menu.c: (go_location_cb): * src/ephy-navigation-action.c: (activate_up_menu_item_cb): * src/ephy-shell.c: (ephy_shell_new_tab): * src/toolbar.c: (go_location_cb): * src/window-commands.c: (window_cmd_go_home): Use window_load_url when useful. Right now just a cleanup but will be useful when mozilla focus will stop to suck.
Diffstat (limited to 'src/ephy-favorites-menu.c')
-rw-r--r--src/ephy-favorites-menu.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/ephy-favorites-menu.c b/src/ephy-favorites-menu.c
index e30353dac..11af64de5 100644
--- a/src/ephy-favorites-menu.c
+++ b/src/ephy-favorites-menu.c
@@ -102,12 +102,7 @@ ephy_favorites_menu_clean (EphyFavoritesMenu *wrhm)
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