summaryrefslogtreecommitdiff
path: root/libdocument
diff options
context:
space:
mode:
authorrootavish <[email protected]>2014-08-06 15:34:02 +0530
committerrootavish <[email protected]>2014-08-06 15:34:02 +0530
commit56880392a6678ccec12bbec016939597acd49b07 (patch)
treefd127f796f5127a63f564a5dea82d64f422a9580 /libdocument
parent5f3f572777cfcb64a92a4671fb2aff5faa5cefa4 (diff)
downloadatril-56880392a6678ccec12bbec016939597acd49b07.tar.bz2
atril-56880392a6678ccec12bbec016939597acd49b07.tar.xz
Searching in epub documents
I added the capability to search through documents. The search is quite buggy, and we'll be taking care of each bug one at a time.
Diffstat (limited to 'libdocument')
-rw-r--r--libdocument/ev-document-find.c2
-rw-r--r--libdocument/ev-document-find.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/libdocument/ev-document-find.c b/libdocument/ev-document-find.c
index c22b913d..92dfffe5 100644
--- a/libdocument/ev-document-find.c
+++ b/libdocument/ev-document-find.c
@@ -40,7 +40,7 @@ ev_document_find_find_text (EvDocumentFind *document_find,
return iface->find_text (document_find, page, text, case_sensitive);
}
-gboolean
+guint
ev_document_find_check_for_hits(EvDocumentFind *document_find,
EvPage *page,
const gchar *text,
diff --git a/libdocument/ev-document-find.h b/libdocument/ev-document-find.h
index 7fb5d22c..2b6ba68b 100644
--- a/libdocument/ev-document-find.h
+++ b/libdocument/ev-document-find.h
@@ -53,7 +53,7 @@ struct _EvDocumentFindInterface
const gchar *text,
gboolean case_sensitive);
- gboolean (* check_for_hits)(EvDocumentFind *document_find,
+ guint (* check_for_hits) (EvDocumentFind *document_find,
EvPage *page,
const gchar *text,
gboolean case_sensitive);
@@ -65,7 +65,7 @@ GList *ev_document_find_find_text (EvDocumentFind *document_find,
const gchar *text,
gboolean case_sensitive);
-gboolean ev_document_find_check_for_hits(EvDocumentFind *document_find,
+guint ev_document_find_check_for_hits (EvDocumentFind *document_find,
EvPage *page,
const gchar *text,
gboolean case_sensitive);