[evince/wip/chpe/symbols-visibility: 7/13] libview: EvPageCache is private to libview




commit 024d9126822e9956883dd822bcfcaf46f6e8ff6f
Author: Christian Persch <chpe src gnome org>
Date:   Wed Dec 1 16:51:33 2021 +0100

    libview: EvPageCache is private to libview
    
    ... so don't add it to the public API documentation.

 help/reference/libview/libevview-docs.xml     |  1 -
 help/reference/libview/libevview-sections.txt | 29 ---------------------------
 help/reference/libview/libevview.types        |  2 --
 libview/ev-page-cache.h                       |  4 ++--
 4 files changed, 2 insertions(+), 34 deletions(-)
---
diff --git a/help/reference/libview/libevview-docs.xml b/help/reference/libview/libevview-docs.xml
index 2c39c4ca0..0ada33e1d 100644
--- a/help/reference/libview/libevview-docs.xml
+++ b/help/reference/libview/libevview-docs.xml
@@ -74,7 +74,6 @@
     </partintro>
 
     <xi:include href="xml/ev-view.xml"/>
-    <xi:include href="xml/ev-page-cache.xml"/>
     <xi:include href="xml/ev-print-operation.xml"/>
     <xi:include href="xml/ev-view-presentation.xml"/>
     <xi:include href="xml/ev-jobs.xml"/>
diff --git a/help/reference/libview/libevview-sections.txt b/help/reference/libview/libevview-sections.txt
index c2eafd05c..2f8f6e6ef 100644
--- a/help/reference/libview/libevview-sections.txt
+++ b/help/reference/libview/libevview-sections.txt
@@ -56,35 +56,6 @@ EV_VIEW_GET_CLASS
 ev_view_get_type
 </SECTION>
 
-<SECTION>
-<FILE>ev-page-cache</FILE>
-EvPageCache
-EvPageCacheClass
-ev_page_cache_new
-ev_page_cache_set_page_range
-ev_page_cache_get_flags
-ev_page_cache_set_flags
-ev_page_cache_get_link_mapping
-ev_page_cache_get_image_mapping
-ev_page_cache_get_form_field_mapping
-ev_page_cache_get_annot_mapping
-ev_page_cache_get_text_mapping
-ev_page_cache_get_text
-ev_page_cache_get_text_layout
-ev_page_cache_get_text_attrs
-ev_page_cache_get_text_log_attrs
-ev_page_cache_mark_dirty
-<SUBSECTION Standard>
-EV_PAGE_CACHE
-EV_IS_PAGE_CACHE
-EV_TYPE_PAGE_CACHE
-EV_PAGE_CACHE_CLASS
-EV_IS_PAGE_CACHE_CLASS
-EV_PAGE_CACHE_GET_CLASS
-<SUBSECTION Private>
-ev_page_cache_get_type
-</SECTION>
-
 <SECTION>
 <FILE>ev-print-operation</FILE>
 EvPrintOperation
diff --git a/help/reference/libview/libevview.types b/help/reference/libview/libevview.types
index 5f502e974..2d8f7b4f3 100644
--- a/help/reference/libview/libevview.types
+++ b/help/reference/libview/libevview.types
@@ -1,5 +1,4 @@
 #include <evince-view.h>
-#include "ev-page-cache.h"
 #include "ev-view-presentation.h"
 
 ev_document_model_get_type
@@ -19,7 +18,6 @@ ev_job_render_get_type
 ev_job_run_mode_get_type
 ev_job_save_get_type
 ev_job_thumbnail_get_type
-ev_page_cache_get_type
 ev_print_operation_get_type
 ev_sizing_mode_get_type
 ev_page_layout_get_type
diff --git a/libview/ev-page-cache.h b/libview/ev-page-cache.h
index 7e5fcce70..0ccc48965 100644
--- a/libview/ev-page-cache.h
+++ b/libview/ev-page-cache.h
@@ -17,8 +17,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
-#if !defined (__EV_EVINCE_VIEW_H_INSIDE__) && !defined (EVINCE_COMPILATION)
-#error "Only <evince-view.h> can be included directly."
+#if !defined (EVINCE_COMPILATION)
+#error "This is a private header."
 #endif
 
 #ifndef EV_PAGE_CACHE_H


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