From 816d2dc8226f8d271aa1a6cd30549614769d5267 Mon Sep 17 00:00:00 2001 From: rbuj Date: Wed, 27 Oct 2021 17:30:36 +0200 Subject: Use a blank line at most --- backend/djvu/djvu-document.c | 3 --- backend/djvu/djvu-links.c | 2 -- backend/djvu/djvu-text-page.c | 3 --- backend/djvu/djvu-text-page.h | 1 - 4 files changed, 9 deletions(-) (limited to 'backend/djvu') diff --git a/backend/djvu/djvu-document.c b/backend/djvu/djvu-document.c index b3e41a8d..9ed327ad 100644 --- a/backend/djvu/djvu-document.c +++ b/backend/djvu/djvu-document.c @@ -66,7 +66,6 @@ EV_BACKEND_REGISTER_WITH_CODE (DjvuDocument, djvu_document, EV_BACKEND_IMPLEMENT_INTERFACE (EV_TYPE_SELECTION, djvu_selection_iface_init); }); - #define EV_DJVU_ERROR ev_djvu_error_quark () static GQuark @@ -256,7 +255,6 @@ djvu_document_load (EvDocument *document, return TRUE; } - static gboolean djvu_document_save (EvDocument *document, const char *uri, @@ -676,7 +674,6 @@ djvu_document_find_find_text (EvDocumentFind *document, r->y2 = height - tmp * SCALE_FACTOR; } - return matches; } diff --git a/backend/djvu/djvu-links.c b/backend/djvu/djvu-links.c index da871dac..03da5983 100644 --- a/backend/djvu/djvu-links.c +++ b/backend/djvu/djvu-links.c @@ -181,7 +181,6 @@ build_tree (const DjvuDocument *djvu_document, if (!string_from_miniexp (miniexp_car (iter), &title)) goto unknown_entry; if (!string_from_miniexp (miniexp_cadr (iter), &link_dest)) goto unknown_entry; - if (!g_utf8_validate (title, -1, NULL)) { utf8_title = str_to_utf8 (title); title_markup = g_markup_escape_text (utf8_title, -1); @@ -342,7 +341,6 @@ get_djvu_hyperlink_mapping (DjvuDocument *djvu_document, return NULL; } - gboolean djvu_links_has_document_links (EvDocumentLinks *document_links) { diff --git a/backend/djvu/djvu-text-page.c b/backend/djvu/djvu-text-page.c index 6cbf54e6..72813bd4 100644 --- a/backend/djvu/djvu-text-page.c +++ b/backend/djvu/djvu-text-page.c @@ -23,7 +23,6 @@ #include #include "djvu-text-page.h" - /** * djvu_text_page_selection_process: * @page: #DjvuTextPage instance @@ -117,7 +116,6 @@ djvu_text_page_limits_process (DjvuTextPage *page, } } - static void djvu_text_page_limits (DjvuTextPage *page, miniexp_t p, @@ -404,7 +402,6 @@ djvu_text_page_search (DjvuTextPage *page, g_free (search_text); } - /** * djvu_text_page_prepare_search: * @page: #DjvuTextPage instance diff --git a/backend/djvu/djvu-text-page.h b/backend/djvu/djvu-text-page.h index a25284f5..ed8f3c7a 100644 --- a/backend/djvu/djvu-text-page.h +++ b/backend/djvu/djvu-text-page.h @@ -25,7 +25,6 @@ #include #include - typedef struct _DjvuTextPage DjvuTextPage; typedef struct _DjvuTextLink DjvuTextLink; -- cgit v1.2.1