Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/backend
diff options
context:
space:
mode:
Diffstat (limited to 'backend')
-rw-r--r--backend/ev-document-find.c7
-rw-r--r--backend/ev-document-find.h6
2 files changed, 5 insertions, 8 deletions
diff --git a/backend/ev-document-find.c b/backend/ev-document-find.c
index 01ae739..48c01d8 100644
--- a/backend/ev-document-find.c
+++ b/backend/ev-document-find.c
@@ -109,12 +109,11 @@ ev_document_find_get_result (EvDocumentFind *document_find,
return iface->get_result (document_find, n_result, rectangle);
}
-void
-ev_document_find_get_progress (EvDocumentFind *document_find,
- double percent_complete)
+double
+ev_document_find_get_progress (EvDocumentFind *document_find)
{
EvDocumentFindIface *iface = EV_DOCUMENT_FIND_GET_IFACE (document_find);
- iface->get_progress (document_find, percent_complete);
+ return iface->get_progress (document_find);
}
void
diff --git a/backend/ev-document-find.h b/backend/ev-document-find.h
index ebce196..3f55667 100644
--- a/backend/ev-document-find.h
+++ b/backend/ev-document-find.h
@@ -54,8 +54,7 @@ struct _EvDocumentFindIface
gboolean (* get_result) (EvDocumentFind *document_find,
int n_result,
GdkRectangle *rectangle);
- void (* get_progress) (EvDocumentFind *document_find,
- double percent_complete);
+ double (* get_progress) (EvDocumentFind *document_find);
/* Signals */
@@ -74,8 +73,7 @@ int ev_document_find_get_n_results (EvDocumentFind *document_find);
gboolean ev_document_find_get_result (EvDocumentFind *document_find,
int n_result,
GdkRectangle *rectangle);
-void ev_document_find_get_progress (EvDocumentFind *document_find,
- double percent_complete);
+double ev_document_find_get_progress (EvDocumentFind *document_find);
void ev_document_find_changed (EvDocumentFind *document_find,
int page);