aboutsummaryrefslogtreecommitdiffstats
path: root/src/toolbar.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/toolbar.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/toolbar.c')
-rwxr-xr-xsrc/toolbar.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/toolbar.c b/src/toolbar.c
index e47ed7d8c..da506f8c4 100755
--- a/src/toolbar.c
+++ b/src/toolbar.c
@@ -119,12 +119,7 @@ toolbar_get_type (void)
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