[evince/333-handle-spaces-and-hyphenation-when-search-pdf] apply deprecautions



commit 565761f971736985140f1352abb936843a6e9f68
Author: Germán Poo-Caamaño <gpoo gnome org>
Date:   Mon May 23 02:47:02 2022 +0000

    apply deprecautions

 libdocument/ev-document-find.h | 3 +++
 libview/ev-jobs.h              | 3 +++
 2 files changed, 6 insertions(+)
---
diff --git a/libdocument/ev-document-find.h b/libdocument/ev-document-find.h
index c4109438e..ca28eaca7 100644
--- a/libdocument/ev-document-find.h
+++ b/libdocument/ev-document-find.h
@@ -92,11 +92,14 @@ struct _EvDocumentFindInterface
 
 EV_PUBLIC
 GType         ev_document_find_get_type               (void) G_GNUC_CONST;
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+EV_DEPRECATED_FOR(ev_document_find_find_text_extended)
 EV_PUBLIC
 GList        *ev_document_find_find_text              (EvDocumentFind *document_find,
                                                       EvPage         *page,
                                                       const gchar    *text,
                                                       gboolean        case_sensitive);
+G_GNUC_END_IGNORE_DEPRECATIONS
 EV_PUBLIC
 GList        *ev_document_find_find_text_with_options (EvDocumentFind *document_find,
                                                       EvPage         *page,
diff --git a/libview/ev-jobs.h b/libview/ev-jobs.h
index 579f29688..a4ba5445d 100644
--- a/libview/ev-jobs.h
+++ b/libview/ev-jobs.h
@@ -710,9 +710,12 @@ void            ev_job_find_set_options   (EvJobFind       *job,
                                            EvFindOptions    options);
 EV_PUBLIC
 EvFindOptions   ev_job_find_get_options   (EvJobFind       *job);
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+EV_DEPRECATED_FOR(ev_job_find_get_n_main_results)
 EV_PUBLIC
 gint            ev_job_find_get_n_results (EvJobFind       *job,
                                           gint             pages);
+G_GNUC_END_IGNORE_DEPRECATIONS
 EV_PUBLIC
 gint            ev_job_find_get_n_main_results (EvJobFind  *job,
                                                gint        page);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]