diff options
author | Pablo Barciela <[email protected]> | 2020-04-12 01:54:10 +0200 |
---|---|---|
committer | Robert Antoni Buj Gelonch <[email protected]> | 2020-04-14 10:12:59 +0200 |
commit | d88ad14b2f6a43f2821299c32f4710d33386a73c (patch) | |
tree | c76910b942e59976a7046c96eada55d2717c063b /backend/epub/epub-document.c | |
parent | 342c18733f625e349846fb416c42b5cc714094b4 (diff) | |
download | atril-d88ad14b2f6a43f2821299c32f4710d33386a73c.tar.bz2 atril-d88ad14b2f6a43f2821299c32f4710d33386a73c.tar.xz |
ev-window/epub-document: remove unused functions
Fixes the build warnings:
ev-window.c:6379:1: warning: function 'menubar_deactivate_cb' is not needed and will not be emitted [-Wunneeded-internal-declaration]
menubar_deactivate_cb (GtkWidget *menubar,
^
epub-document.c:946:1: warning: function 'check_add_page_numbers' is not needed and will not be emitted [-Wunneeded-internal-declaration]
check_add_page_numbers(linknode *listdata, contentListNode *comparenode)
^
Diffstat (limited to 'backend/epub/epub-document.c')
-rw-r--r-- | backend/epub/epub-document.c | 11 |
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) { |