aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-navigation-action.c
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2008-06-30 15:23:57 +0800
committerXan Lopez <xan@src.gnome.org>2008-06-30 15:23:57 +0800
commitd0ccaa5cfa129113f6359b1be98ef9cb0db3e8e4 (patch)
tree034c12aef5e4f93d60bea8aac738d23b7829ac02 /src/ephy-navigation-action.c
parent0238a377973ad82bd73e4e8f12a291b62359e9c1 (diff)
downloadgsoc2013-epiphany-d0ccaa5cfa129113f6359b1be98ef9cb0db3e8e4.tar
gsoc2013-epiphany-d0ccaa5cfa129113f6359b1be98ef9cb0db3e8e4.tar.gz
gsoc2013-epiphany-d0ccaa5cfa129113f6359b1be98ef9cb0db3e8e4.tar.bz2
gsoc2013-epiphany-d0ccaa5cfa129113f6359b1be98ef9cb0db3e8e4.tar.lz
gsoc2013-epiphany-d0ccaa5cfa129113f6359b1be98ef9cb0db3e8e4.tar.xz
gsoc2013-epiphany-d0ccaa5cfa129113f6359b1be98ef9cb0db3e8e4.tar.zst
gsoc2013-epiphany-d0ccaa5cfa129113f6359b1be98ef9cb0db3e8e4.zip
embed: remove ephy_embed_go_to_history_item.
Use WebKit API directly. svn path=/trunk/; revision=8313
Diffstat (limited to 'src/ephy-navigation-action.c')
-rw-r--r--src/ephy-navigation-action.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ephy-navigation-action.c b/src/ephy-navigation-action.c
index d2b257675..b1f72aa6d 100644
--- a/src/ephy-navigation-action.c
+++ b/src/ephy-navigation-action.c
@@ -118,7 +118,7 @@ static void
activate_back_or_forward_menu_item_cb (GtkWidget *menuitem,
EphyNavigationAction *action)
{
- EphyHistoryItem *item;
+ WebKitWebHistoryItem *item;
EphyEmbed *embed;
embed = ephy_embed_container_get_active_child (EPHY_EMBED_CONTAINER (action->priv->window));
@@ -131,10 +131,10 @@ activate_back_or_forward_menu_item_cb (GtkWidget *menuitem,
g_return_if_fail (embed != NULL);
}
- item = (EphyHistoryItem*)g_object_get_data (G_OBJECT (menuitem), HISTORY_ITEM_DATA_KEY);
+ item = (WebKitWebHistoryItem*)g_object_get_data (G_OBJECT (menuitem), HISTORY_ITEM_DATA_KEY);
g_return_if_fail (item != NULL);
- ephy_embed_go_to_history_item (embed, item);
+ webkit_web_view_go_to_back_forward_item (EPHY_GET_WEBKIT_WEB_VIEW_FROM_EMBED (embed), item);
}
static void