[evince/wip/chpe/symbols-visibility: 15/22] libview: EvAnnotationWindow is private to libview




commit 30df7ca756ecdca05e9c9e818ccc0ccde5e5647f
Author: Christian Persch <chpe src gnome org>
Date:   Sat Nov 20 22:40:55 2021 +0100

    libview: EvAnnotationWindow 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 | 23 -----------------------
 help/reference/libview/libevview.types        |  2 --
 libview/ev-annotation-window.h                |  4 ++++
 4 files changed, 4 insertions(+), 26 deletions(-)
---
diff --git a/help/reference/libview/libevview-docs.xml b/help/reference/libview/libevview-docs.xml
index edb195be9..2c39c4ca0 100644
--- a/help/reference/libview/libevview-docs.xml
+++ b/help/reference/libview/libevview-docs.xml
@@ -73,7 +73,6 @@
       </para>
     </partintro>
 
-    <xi:include href="xml/ev-annotation-window.xml"/>
     <xi:include href="xml/ev-view.xml"/>
     <xi:include href="xml/ev-page-cache.xml"/>
     <xi:include href="xml/ev-print-operation.xml"/>
diff --git a/help/reference/libview/libevview-sections.txt b/help/reference/libview/libevview-sections.txt
index d37a9c4fc..c2eafd05c 100644
--- a/help/reference/libview/libevview-sections.txt
+++ b/help/reference/libview/libevview-sections.txt
@@ -1,26 +1,3 @@
-<SECTION>
-<FILE>ev-annotation-window</FILE>
-EvAnnotationWindow
-EvAnnotationWindowClass
-ev_annotation_window_new
-ev_annotation_window_get_annotation
-ev_annotation_window_set_annotation
-ev_annotation_window_is_open
-ev_annotation_window_get_rectangle
-ev_annotation_window_set_rectangle
-ev_annotation_window_grab_focus
-ev_annotation_window_ungrab_focus
-<SUBSECTION Standard>
-EV_ANNOTATION_WINDOW
-EV_IS_ANNOTATION_WINDOW
-EV_TYPE_ANNOTATION_WINDOW
-EV_ANNOTATION_WINDOW_CLASS
-EV_IS_ANNOTATION_WINDOW_CLASS
-EV_ANNOTATION_WINDOW_GET_CLASS
-<SUBSECTION Private>
-ev_annotation_window_get_type
-</SECTION>
-
 <SECTION>
 <FILE>ev-view</FILE>
 EvView
diff --git a/help/reference/libview/libevview.types b/help/reference/libview/libevview.types
index ed35ec183..5f502e974 100644
--- a/help/reference/libview/libevview.types
+++ b/help/reference/libview/libevview.types
@@ -1,9 +1,7 @@
 #include <evince-view.h>
-#include "ev-annotation-window.h"
 #include "ev-page-cache.h"
 #include "ev-view-presentation.h"
 
-ev_annotation_window_get_type
 ev_document_model_get_type
 ev_job_attachments_get_type
 ev_job_export_get_type
diff --git a/libview/ev-annotation-window.h b/libview/ev-annotation-window.h
index 02d8022bf..85d8906fa 100644
--- a/libview/ev-annotation-window.h
+++ b/libview/ev-annotation-window.h
@@ -19,6 +19,10 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
+#if !defined (EVINCE_COMPILATION)
+#error "This is a private header."
+#endif
+
 #ifndef EV_ANNOTATION_WINDOW_H
 #define EV_ANNOTATION_WINDOW_H
 


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