summaryrefslogtreecommitdiff
path: root/backend/djvu
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-27 17:30:36 +0200
committerraveit65 <[email protected]>2021-11-20 18:31:11 +0100
commit816d2dc8226f8d271aa1a6cd30549614769d5267 (patch)
treeb7bf882bb656964b9a919d4467fbde54fd9be867 /backend/djvu
parent0c38b79c9556e475652d37556f0b2ffd73e0a4e4 (diff)
downloadatril-816d2dc8226f8d271aa1a6cd30549614769d5267.tar.bz2
atril-816d2dc8226f8d271aa1a6cd30549614769d5267.tar.xz
Use a blank line at most
Diffstat (limited to 'backend/djvu')
-rw-r--r--backend/djvu/djvu-document.c3
-rw-r--r--backend/djvu/djvu-links.c2
-rw-r--r--backend/djvu/djvu-text-page.c3
-rw-r--r--backend/djvu/djvu-text-page.h1
4 files changed, 0 insertions, 9 deletions
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 <libdjvu/miniexp.h>
#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 <glib.h>
#include <libdjvu/miniexp.h>
-
typedef struct _DjvuTextPage DjvuTextPage;
typedef struct _DjvuTextLink DjvuTextLink;