diff options
author | Marco Pesenti Gritti <marco@gnome.org> | 2005-01-30 13:40:03 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2005-01-30 13:40:03 (GMT) |
commit | 20bac8406dacba5512f116c91ab21b0ad20fabf5 (patch) | |
tree | 0aa749d34b92039a78f49ff930a6f0431fb4c3f0 /backend | |
parent | a521d16eb7f59cbda6881b66e0e7a00125377cd8 (diff) |
Yay! find works now... Now to find bugs...
2005-01-30 Marco Pesenti Gritti <marco@gnome.org>
* pdf/xpdf/pdf-document.cc:
* shell/ev-view.c: (draw_rubberband), (highlight_find_results),
(expose_bin_window), (find_changed_cb):
Yay! find works now... Now to find bugs...
Diffstat (limited to 'backend')
-rw-r--r-- | backend/ev-document-find.c | 7 | ||||
-rw-r--r-- | backend/ev-document-find.h | 6 |
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); |