diff options
author | Iulian Radu <iulian.radu67@gmail.com> | 2016-09-27 19:27:03 +0300 |
---|---|---|
committer | Iulian Radu <iulian.radu67@gmail.com> | 2016-09-28 16:15:13 +0300 |
commit | 88f3e105fc5f6e6360426098044cf5b7fce8aa69 (patch) | |
tree | 3e1ffc4f3fe5e22730b1db9ceb116a07d9b96a30 /src/window-commands.c | |
parent | 1eaad92c8cbe1c884dd3a7b038839217f5af7346 (diff) | |
download | epiphany-88f3e105fc5f6e6360426098044cf5b7fce8aa69.tar.gz |
Remove obsolete EphyBookmarks
Diffstat (limited to 'src/window-commands.c')
-rw-r--r-- | src/window-commands.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/window-commands.c b/src/window-commands.c index b199e8ada..f4d98b8cd 100644 --- a/src/window-commands.c +++ b/src/window-commands.c @@ -1697,30 +1697,6 @@ window_cmd_go_location (GSimpleAction *action, } void -window_cmd_load_location (GSimpleAction *action, - GVariant *parameter, - gpointer user_data) -{ - const char *location; - - location = ephy_window_get_location (EPHY_WINDOW (user_data)); - - if (location) { - EphyBookmarks *bookmarks; - char *address; - - bookmarks = ephy_shell_get_bookmarks (ephy_shell_get_default ()); - - address = ephy_bookmarks_resolve_address (bookmarks, location, NULL); - g_return_if_fail (address != NULL); - - ephy_link_open (EPHY_LINK (user_data), address, - ephy_embed_container_get_active_child (EPHY_EMBED_CONTAINER (user_data)), - ephy_link_flags_from_current_event ()); - } -} - -void window_cmd_go_home (GSimpleAction *action, GVariant *parameter, gpointer user_data) |