summaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
Diffstat (limited to 'backend')
-rw-r--r--backend/epub/epub-document.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/backend/epub/epub-document.c b/backend/epub/epub-document.c
index 9fef3e7d..2ad7c09b 100644
--- a/backend/epub/epub-document.c
+++ b/backend/epub/epub-document.c
@@ -942,17 +942,6 @@ link_present_on_page(const gchar* link,const gchar *page_uri)
}
}
-static void
-check_add_page_numbers(linknode *listdata, contentListNode *comparenode)
-{
- if (link_present_on_page(listdata->pagelink, comparenode->value)) {
- listdata->page = comparenode->index - 1;
- }
- if (listdata->children != NULL) {
- g_list_foreach(listdata->children,(GFunc)check_add_page_numbers,comparenode);
- }
-}
-
static GList*
setup_document_content_list(const gchar* content_uri, GError** error,gchar *documentdir)
{