summaryrefslogtreecommitdiff
path: root/libdocument/ev-link.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdocument/ev-link.c')
-rw-r--r--libdocument/ev-link.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/libdocument/ev-link.c b/libdocument/ev-link.c
index 189c66c9..dab2e9f5 100644
--- a/libdocument/ev-link.c
+++ b/libdocument/ev-link.c
@@ -179,24 +179,3 @@ ev_link_new (const char *title,
"action", action,
NULL));
}
-
-gint
-ev_link_get_page (EvLink *link)
-{
- EvLinkAction *action;
- EvLinkDest *dest;
-
- action = ev_link_get_action (link);
- if (!action)
- return -1;
-
- if (ev_link_action_get_action_type (action) !=
- EV_LINK_ACTION_TYPE_GOTO_DEST)
- return -1;
-
- dest = ev_link_action_get_dest (action);
- if (dest)
- return ev_link_dest_get_page (dest);
-
- return -1;
-}