From 9dbfd9b34b6dab67863392504c221e0c6f0eb4a2 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Thu, 26 Jun 2003 15:47:41 +0000 Subject: Use window_load_url when useful. Right now just a cleanup but will be 2003-06-26 Marco Pesenti Gritti * 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. --- src/bookmarks/ephy-bookmarks-menu.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/bookmarks') 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 -- cgit