From 7f15b7560b77f79c2f171d202cf46b7acb42adf3 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Sun, 3 Jan 2010 18:12:09 +0100 Subject: [PATCH] [shell] Use new function ev_document_links_get_dest_page_label() instead of ev_view_page_label_from_dest() that will be removed soon --- shell/ev-window.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/shell/ev-window.c b/shell/ev-window.c index 4e01a2d4..d83d43fa 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -803,8 +803,7 @@ ev_window_add_history (EvWindow *window, gint page, EvLink *link) if (link) { action = g_object_ref (ev_link_get_action (link)); dest = ev_link_action_get_dest (action); - page = ev_link_dest_get_page (dest); - page_label = ev_view_page_label_from_dest (EV_VIEW (window->priv->view), dest); + page_label = ev_document_links_get_dest_page_label (EV_DOCUMENT_LINKS (window->priv->document), dest); } else { dest = ev_link_dest_new_page (page); action = ev_link_action_new_dest (dest); -- 2.43.5