diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-06-26 23:47:41 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-06-26 23:47:41 +0800 |
commit | 9dbfd9b34b6dab67863392504c221e0c6f0eb4a2 (patch) | |
tree | 4869be653b0d9cac359f289b1e067533713f5cb0 /src/bookmarks | |
parent | bd886bd75b0f49f350d479ca1e6c57e6a7451f73 (diff) | |
download | gsoc2013-epiphany-9dbfd9b34b6dab67863392504c221e0c6f0eb4a2.tar.gz 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/bookmarks')
-rw-r--r-- | src/bookmarks/ephy-bookmarks-menu.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/bookmarks/ephy-bookmarks-menu.c b/src/bookmarks/ephy-bookmarks-menu.c index 932f6dbaf..8a97387ff 100644 --- a/src/bookmarks/ephy-bookmarks-menu.c +++ b/src/bookmarks/ephy-bookmarks-menu.c @@ -111,12 +111,7 @@ ephy_bookmarks_menu_clean (EphyBookmarksMenu *menu) 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 int |