summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backend/epub/epub-document.c11
-rw-r--r--shell/ev-window.c14
2 files changed, 0 insertions, 25 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)
{
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 70dce57f..25e12274 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -6375,20 +6375,6 @@ ev_window_dispose (GObject *object)
G_OBJECT_CLASS (ev_window_parent_class)->dispose (object);
}
-static void
-menubar_deactivate_cb (GtkWidget *menubar,
- EvWindow *window)
-{
- g_signal_handlers_disconnect_by_func (menubar,
- G_CALLBACK (menubar_deactivate_cb),
- window);
-
- gtk_menu_shell_deselect (GTK_MENU_SHELL (menubar));
-
- update_chrome_visibility (window);
-}
-
-
/*
* GtkWindow catches keybindings for the menu items _before_ passing them to
* the focused widget. This is unfortunate and means that pressing Ctrl+a,