1
0
mirror of https://gitlab.gnome.org/GNOME/evince synced 2024-06-28 13:44:46 +00:00

all: Replace include guards with pragma once

Instead of using the "#ifndef FOO_H", "#define FOO_H", …, "#endif FOO_H"
guards around the header file, use the "#pragma once".
This commit is contained in:
Christian Persch 2021-12-01 21:27:24 +01:00 committed by Germán Poo-Caamaño
parent c3c1fcd761
commit 60ba7b0ee5
115 changed files with 183 additions and 543 deletions

View File

@ -16,8 +16,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __COMICS_DOCUMENT_H__
#define __COMICS_DOCUMENT_H__
#pragma once
#include "ev-macros.h"
#include "ev-document.h"
@ -36,5 +35,3 @@ EV_PUBLIC
GType register_evince_backend (GTypeModule *module);
G_END_DECLS
#endif /* __COMICS_DOCUMENT_H__ */

View File

@ -17,8 +17,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __EV_ARCHIVE_H__
#define __EV_ARCHIVE_H__
#pragma once
#include <glib-object.h>
@ -55,5 +54,3 @@ gssize ev_archive_read_data (EvArchive *archive,
void ev_archive_reset (EvArchive *archive);
G_END_DECLS
#endif /* __EV_ARCHIVE_H__ */

View File

@ -18,8 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __DJVU_DOCUMENT_INTERNAL_H__
#define __DJVU_DOCUMENT_INTERNAL_H__
#pragma once
#include "djvu-document.h"
@ -47,5 +46,3 @@ int djvu_document_get_n_pages (EvDocument *document);
void djvu_handle_events (DjvuDocument *djvu_document,
int wait,
GError **error);
#endif /* __DJVU_DOCUMENT_INTERNAL_H__ */

View File

@ -16,8 +16,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __DJVU_DOCUMENT_H__
#define __DJVU_DOCUMENT_H__
#pragma once
#include "ev-macros.h"
#include "ev-document.h"
@ -36,5 +35,3 @@ EV_PUBLIC
GType register_evince_backend (GTypeModule *module);
G_END_DECLS
#endif /* __DJVU_DOCUMENT_H__ */

View File

@ -16,8 +16,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __DJVU_LINK_H__
#define __DJVU_LINK_H__
#pragma once
#include "ev-document-links.h"
#include "djvu-document.h"
@ -33,5 +32,3 @@ EvLinkDest *djvu_links_find_link_dest (EvDocumentLinks *document_links,
gint djvu_links_find_link_page (EvDocumentLinks *document_links,
const gchar *link_name);
gboolean djvu_links_has_document_links (EvDocumentLinks *document_links);
#endif /* __DJVU_LINK_H__ */

View File

@ -16,8 +16,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __DJVU_TEXT_PAGE_H__
#define __DJVU_TEXT_PAGE_H__
#pragma once
#include "ev-document.h"
@ -61,6 +60,3 @@ void djvu_text_page_search (DjvuTextPage *page,
const char *text);
DjvuTextPage *djvu_text_page_new (miniexp_t text);
void djvu_text_page_free (DjvuTextPage *page);
#endif /* __DJVU_TEXT_PAGE_H__ */

View File

@ -16,8 +16,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __DVI_DOCUMENT_H__
#define __DVI_DOCUMENT_H__
#pragma once
#include "ev-macros.h"
#include "ev-document.h"
@ -36,5 +35,3 @@ EV_PUBLIC
GType register_evince_backend (GTypeModule *module);
G_END_DECLS
#endif /* __DVI_DOCUMENT_H__ */

View File

@ -16,8 +16,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __PDF_DOCUMENT_H__
#define __PDF_DOCUMENT_H__
#pragma once
#include "ev-macros.h"
#include "ev-document.h"
@ -37,5 +36,3 @@ EV_PUBLIC
GType register_evince_backend (GTypeModule *module);
G_END_DECLS
#endif /* __PDF_DOCUMENT_H__ */

View File

@ -21,8 +21,7 @@
* Boston, MA 02110-1301, USA.
*/
#ifndef __PS_DOCUMENT_H__
#define __PS_DOCUMENT_H__
#pragma once
#include <glib-object.h>
@ -46,5 +45,3 @@ EV_PUBLIC
GType register_evince_backend (GTypeModule *module);
G_END_DECLS
#endif /* __PS_DOCUMENT_H__ */

View File

@ -17,8 +17,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __TIFF_DOCUMENT_H__
#define __TIFF_DOCUMENT_H__
#pragma once
#include "ev-macros.h"
#include "ev-document.h"
@ -37,5 +36,3 @@ EV_PUBLIC
GType register_evince_backend (GTypeModule *module);
G_END_DECLS
#endif /* __TIFF_DOCUMENT_H__ */

View File

@ -16,6 +16,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#include <glib.h>
#include <stdio.h>
#include "tiffio.h"

View File

@ -17,8 +17,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __XPS_DOCUMENT_H__
#define __XPS_DOCUMENT_H__
#pragma once
#include <glib-object.h>
@ -42,5 +41,3 @@ EV_PUBLIC
GType register_evince_backend (GTypeModule *module);
G_END_DECLS
#endif /* __XPS_DOCUMENT_H__ */

View File

@ -16,8 +16,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef EVINCE_DOCUMENT_H
#define EVINCE_DOCUMENT_H
#pragma once
#define __EV_EVINCE_DOCUMENT_H_INSIDE__
@ -62,5 +61,3 @@
#include <libdocument/ev-version.h>
#undef __EV_EVINCE_DOCUMENT_H_INSIDE__
#endif /* !EVINCE_DOCUMENT_H */

View File

@ -16,8 +16,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef EVINCE_VIEW_H
#define EVINCE_VIEW_H
#pragma once
#define __EV_EVINCE_VIEW_H_INSIDE__
@ -30,5 +29,3 @@
#include <libview/ev-stock-icons.h>
#undef __EV_EVINCE_VIEW_H_INSIDE__
#endif /* !EVINCE_VIEW_H */

View File

@ -19,13 +19,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_ANNOTATION_H
#define EV_ANNOTATION_H
#include <glib-object.h>
#include "ev-document.h"
@ -252,5 +251,3 @@ gboolean ev_annotation_text_markup_set_markup_type (EvAnnotati
EvAnnotationTextMarkupType markup_type);
G_END_DECLS
#endif /* EV_ANNOTATION_H */

View File

@ -18,13 +18,12 @@
*
*/
#pragma once
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_ASYNC_RENDERER_H
#define EV_ASYNC_RENDERER_H
#include <glib-object.h>
#include <glib.h>
#include <gdk/gdk.h>
@ -65,5 +64,3 @@ void ev_async_renderer_render_pixbuf (EvAsyncRenderer *renderer,
int rotation);
G_END_DECLS
#endif

View File

@ -17,13 +17,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef __EV_ATTACHMENT_H__
#define __EV_ATTACHMENT_H__
#include <glib-object.h>
#include <gio/gio.h>
@ -91,5 +90,3 @@ gboolean ev_attachment_open (EvAttachment *attachment,
GError **error);
G_END_DECLS
#endif /* __EV_ATTACHMENT_H__ */

View File

@ -17,13 +17,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (EVINCE_COMPILATION)
#error "This is a private header."
#endif
#ifndef EV_BACKEND_INFO
#define EV_BACKEND_INFO
#include <glib.h>
G_BEGIN_DECLS
@ -51,5 +50,3 @@ EvBackendInfo *_ev_backend_info_new_from_file (const char *file,
GList *_ev_backend_info_load_from_dir (const char *path);
G_END_DECLS
#endif /* !EV_BACKEND_INFO */

View File

@ -17,13 +17,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_BACKENDS_MANAGER
#define EV_BACKENDS_MANAGER
#include <glib.h>
#include "ev-document.h"
@ -50,5 +49,3 @@ EV_PUBLIC
GList *ev_backends_manager_get_all_types_info (void);
G_END_DECLS
#endif /* EV_BACKENDS_MANAGER */

View File

@ -32,13 +32,12 @@
/* Modified by Evince Team */
#pragma once
#if !defined (EVINCE_COMPILATION)
#error "This is a private header."
#endif
#ifndef __EV_DEBUG_H__
#define __EV_DEBUG_H__
#include <glib-object.h>
#include "ev-macros.h"
@ -124,5 +123,3 @@ EvDebugBorders ev_debug_get_debug_borders (void);
#endif /* EV_ENABLE_DEBUG */
G_END_DECLS
#endif /* __EV_DEBUG_H__ */

View File

@ -18,13 +18,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_DOCUMENT_ANNOTATIONS_H
#define EV_DOCUMENT_ANNOTATIONS_H
#include <glib-object.h>
#include "ev-macros.h"
@ -129,6 +128,3 @@ EvAnnotationsOverMarkup ev_document_annotations_over_markup (EvDocumentAnnotati
gdouble y);
G_END_DECLS
#endif /* EV_DOCUMENT_ANNOTATIONS_H */

View File

@ -18,13 +18,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_DOCUMENT_ATTACHMENTS_H
#define EV_DOCUMENT_ATTACHMENTS_H
#include <glib-object.h>
#include <glib.h>
@ -60,5 +59,3 @@ EV_PUBLIC
GList *ev_document_attachments_get_attachments (EvDocumentAttachments *document_attachments);
G_END_DECLS
#endif /* EV_DOCUMENT_ATTACHMENTS_H */

View File

@ -18,13 +18,12 @@
*
*/
#pragma once
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_DOCUMENT_FACTORY_H
#define EV_DOCUMENT_FACTORY_H
#include <gtk/gtk.h>
#include "ev-macros.h"
@ -57,5 +56,3 @@ EV_PUBLIC
void ev_document_factory_add_filters (GtkWidget *chooser, EvDocument *document);
G_END_DECLS
#endif

View File

@ -15,17 +15,14 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* $Id$
*/
#pragma once
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_DOCUMENT_FIND_H
#define EV_DOCUMENT_FIND_H
#include <glib-object.h>
#include <glib.h>
@ -82,5 +79,3 @@ EV_PUBLIC
EvFindOptions ev_document_find_get_supported_options (EvDocumentFind *document_find);
G_END_DECLS
#endif /* EV_DOCUMENT_FIND_H */

View File

@ -21,13 +21,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_DOCUMENT_FONTS_H
#define EV_DOCUMENT_FONTS_H
#include <glib-object.h>
#include <glib.h>
#include <gtk/gtk.h>
@ -82,5 +81,3 @@ EV_PUBLIC
const gchar *ev_document_fonts_get_fonts_summary (EvDocumentFonts *document_fonts);
G_END_DECLS
#endif

View File

@ -18,13 +18,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_DOCUMENT_FORMS_H
#define EV_DOCUMENT_FORMS_H
#include <glib-object.h>
#include "ev-macros.h"
@ -145,5 +144,3 @@ void ev_document_forms_reset_form (EvDocumentF
EvLinkAction *action);
G_END_DECLS
#endif /* EV_DOCUMENT_FORMS_H */

View File

@ -18,13 +18,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_DOCUMENT_IMAGES_H
#define EV_DOCUMENT_IMAGES_H
#include <glib-object.h>
#include <glib.h>
@ -65,5 +64,3 @@ GdkPixbuf *ev_document_images_get_image (EvDocumentImages *document_
EvImage *image);
G_END_DECLS
#endif /* EV_DOCUMENT_IMAGES_H */

View File

@ -19,13 +19,12 @@
*
*/
#pragma once
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_DOCUMENT_INFO_H
#define EV_DOCUMENT_INFO_H
#include <glib-object.h>
#include <glib.h>
@ -187,5 +186,3 @@ EV_PUBLIC
const gchar *ev_document_license_get_web_statement (EvDocumentLicense *license);
G_END_DECLS
#endif /* EV_DOCUMENT_INFO_H */

View File

@ -18,13 +18,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_DOCUMENT_LAYERS_H
#define EV_DOCUMENT_LAYERS_H
#include <glib-object.h>
#include <glib.h>
#include <gtk/gtk.h>
@ -88,5 +87,3 @@ gboolean ev_document_layers_layer_is_visible (EvDocumentLayers *document_la
EvLayer *layer);
G_END_DECLS
#endif /* EV_DOCUMENT_LAYERS_H */

View File

@ -21,13 +21,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_DOCUMENT_LINKS_H
#define EV_DOCUMENT_LINKS_H
#include <glib-object.h>
#include <glib.h>
#include <gtk/gtk.h>
@ -102,5 +101,3 @@ gchar *ev_document_links_get_link_page_label (EvDocumentLinks *document_
EvLink *link);
G_END_DECLS
#endif

View File

@ -18,13 +18,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_DOCUMENT_MEDIA_H
#define EV_DOCUMENT_MEDIA_H
#include <glib-object.h>
#include <glib.h>
@ -60,5 +59,3 @@ EvMappingList *ev_document_media_get_media_mapping (EvDocumentMedia *document_me
EvPage *page);
G_END_DECLS
#endif /* EV_DOCUMENT_MEDIA_H */

View File

@ -15,17 +15,14 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* $Id$
*/
#pragma once
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_DOCUMENT_MISC_H
#define EV_DOCUMENT_MISC_H
#include <cairo.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
@ -115,5 +112,3 @@ void ev_document_misc_get_pointer_position (GtkWidget *widget,
gint *y);
G_END_DECLS
#endif /* EV_DOCUMENT_MISC_H */

View File

@ -18,8 +18,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef EV_DOCUMENT_PRINT_H
#define EV_DOCUMENT_PRINT_H
#pragma once
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#include <glib-object.h>
#include <cairo.h>
@ -58,5 +61,3 @@ void ev_document_print_print_page (EvDocumentPrint *document_print,
cairo_t *cr);
G_END_DECLS
#endif /* EV_DOCUMENT_PRINT_H */

View File

@ -21,12 +21,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_DOCUMENT_SECURITY_H
#define EV_DOCUMENT_SECURITY_H
#include <glib-object.h>
#include <glib.h>
@ -67,5 +67,3 @@ void ev_document_security_set_password (EvDocumentSecurity *documen
const char *password);
G_END_DECLS
#endif

View File

@ -15,17 +15,14 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* $Id$
*/
#pragma once
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_DOCUMENT_TEXT_H
#define EV_DOCUMENT_TEXT_H
#include <glib-object.h>
#include <glib.h>
#include <gdk/gdk.h>
@ -80,5 +77,3 @@ EV_PUBLIC
PangoAttrList *ev_document_text_get_text_attrs (EvDocumentText *document_text,
EvPage *page);
G_END_DECLS
#endif /* EV_DOCUMENT_TEXT_H */

View File

@ -18,13 +18,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_DOCUMENT_TRANSITION_H
#define EV_DOCUMENT_TRANSITION_H
#include <glib-object.h>
#include "ev-macros.h"
@ -64,5 +63,3 @@ EvTransitionEffect * ev_document_transition_get_effect (EvDocumentTransit
gint page);
G_END_DECLS
#endif /* EV_DOCUMENT_TRANSITION_H */

View File

@ -1,12 +1,11 @@
/*** BEGIN file-header ***/
#pragma once
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_DOCUMENT_TYPE_BUILTINS_H
#define EV_DOCUMENT_TYPE_BUILTINS_H
#include <glib-object.h>
#include "ev-macros.h"
@ -27,6 +26,4 @@ GType @enum_name@_get_type (void) G_GNUC_CONST;
/*** BEGIN file-tail ***/
G_END_DECLS
#endif /* !EV_DOCUMENT_TYPE_BUILTINS_H */
/*** END file-tail ***/

View File

@ -16,17 +16,14 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* $Id$
*/
#pragma once
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_DOCUMENT_H
#define EV_DOCUMENT_H
#include <glib-object.h>
#include <glib.h>
#include <gio/gio.h>
@ -386,5 +383,3 @@ register_evince_backend (GTypeModule *module) \
EV_BACKEND_REGISTER_WITH_CODE(BackendName, backend_name, ;)
G_END_DECLS
#endif /* EV_DOCUMENT_H */

View File

@ -20,13 +20,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_FILE_EXPORTER_H
#define EV_FILE_EXPORTER_H
#include <glib-object.h>
#include "ev-macros.h"
@ -107,5 +106,3 @@ EV_PUBLIC
EvFileExporterCapabilities ev_file_exporter_get_capabilities (EvFileExporter *exporter);
G_END_DECLS
#endif

View File

@ -17,13 +17,12 @@
*
*/
#pragma once
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_FILE_HELPERS_H
#define EV_FILE_HELPERS_H
#include <glib.h>
#include <gio/gio.h>
@ -84,5 +83,3 @@ gchar *ev_file_compress (const gchar *uri,
GError **error);
G_END_DECLS
#endif /* EV_FILE_HELPERS_H */

View File

@ -18,13 +18,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_FORM_FIELD_PRIVATE_H
#define EV_FORM_FIELD_PRIVATE_H
//#include <glib-object.h>
#include "ev-macros.h"
@ -40,6 +39,3 @@ void ev_form_field_set_alternate_name (EvFormField *field,
gchar *alternative_text);
G_END_DECLS
#endif /* !EV_FORM_FIELD_PRIVATE_H */

View File

@ -18,13 +18,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_FORM_FIELD_H
#define EV_FORM_FIELD_H
#include <glib-object.h>
#include "ev-macros.h"
@ -221,6 +220,3 @@ EvFormField *ev_form_field_signature_new (gint id);
G_END_DECLS
#endif /* !EV_FORM_FIELD_H */

View File

@ -17,13 +17,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef __EV_IMAGE_H__
#define __EV_IMAGE_H__
#include <glib-object.h>
#include <gdk/gdk.h>
@ -72,7 +71,4 @@ const gchar *ev_image_save_tmp (EvImage *image,
EV_PUBLIC
const gchar *ev_image_get_tmp_uri (EvImage *image);
G_END_DECLS
#endif /* __EV_IMAGE_H__ */

View File

@ -17,13 +17,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_INIT_H
#define EV_INIT_H
#include <glib.h>
#include "ev-macros.h"
@ -42,5 +41,3 @@ void ev_shutdown (void);
gboolean _ev_is_initialized (void);
G_END_DECLS
#endif /* EV_INIT_H */

View File

@ -17,13 +17,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef __EV_LAYER_H__
#define __EV_LAYER_H__
#include <glib-object.h>
#include "ev-macros.h"
@ -62,5 +61,3 @@ EV_PUBLIC
gint ev_layer_get_rb_group (EvLayer *layer);
G_END_DECLS
#endif /* __EV_LAYER_H__ */

View File

@ -18,13 +18,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_LINK_ACTION_H
#define EV_LINK_ACTION_H
#include <glib-object.h>
#include "ev-macros.h"
@ -106,5 +105,3 @@ gboolean ev_link_action_equal (EvLinkAction *a,
EvLinkAction *b);
G_END_DECLS
#endif /* EV_LINK_ACTION_H */

View File

@ -18,13 +18,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_LINK_DEST_H
#define EV_LINK_DEST_H
#include <glib-object.h>
#include "ev-macros.h"
@ -115,5 +114,3 @@ gboolean ev_link_dest_equal (EvLinkDest *a,
EvLinkDest *b);
G_END_DECLS
#endif /* EV_LINK_DEST_H */

View File

@ -17,13 +17,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_LINK_H
#define EV_LINK_H
#include <glib-object.h>
#include "ev-macros.h"
@ -56,5 +55,3 @@ EV_PUBLIC
EvLinkAction *ev_link_get_action (EvLink *self);
G_END_DECLS
#endif /* !EV_LINK_H */

View File

@ -16,8 +16,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef EV_MACROS_H
#define EV_MACROS_H
#pragma once
#if defined(EV_DISABLE_DEPRECATION_WARNINGS) || defined(EVINCE_COMPILATION)
#define EV_DEPRECATED
@ -39,5 +38,3 @@
#endif
#define EV_PRIVATE EV_PUBLIC
#endif /* #ifndef EV_MACROS_H */

View File

@ -18,13 +18,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_MAPPING_LIST_H
#define EV_MAPPING_LIST_H
#include "ev-macros.h"
#include "ev-document.h"
@ -74,5 +73,3 @@ EV_PUBLIC
guint ev_mapping_list_length (EvMappingList *mapping_list);
G_END_DECLS
#endif /* EV_MAPPING_LIST_H */

View File

@ -17,13 +17,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef __EV_MEDIA_H__
#define __EV_MEDIA_H__
#include <glib-object.h>
#include "ev-macros.h"
@ -69,5 +68,3 @@ void ev_media_set_show_controls (EvMedia *media,
gboolean show_controls);
G_END_DECLS
#endif /* __EV_MEDIA_H__ */

View File

@ -38,13 +38,12 @@
/* Modified by Evince Team */
#pragma once
#if !defined (EVINCE_COMPILATION)
#error "This is a private header."
#endif
#ifndef EV_MODULE_H
#define EV_MODULE_H
#include <glib-object.h>
G_BEGIN_DECLS
@ -70,5 +69,3 @@ GObject *_ev_module_new_object (EvModule *module);
GType _ev_module_get_object_type (EvModule *module);
G_END_DECLS
#endif /* EV_MODULE_H */

View File

@ -17,12 +17,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_PAGE_H
#define EV_PAGE_H
#include <glib-object.h>
@ -63,5 +63,3 @@ EV_PUBLIC
EvPage *ev_page_new (gint index);
G_END_DECLS
#endif /* EV_PAGE_H */

View File

@ -17,13 +17,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_RENDER_CONTEXT_H
#define EV_RENDER_CONTEXT_H
#include <glib-object.h>
#include "ev-macros.h"
@ -95,5 +94,3 @@ void ev_render_context_compute_scales (EvRenderContext *rc,
double *scale_y);
G_END_DECLS
#endif /* !EV_RENDER_CONTEXT */

View File

@ -18,13 +18,12 @@
*
*/
#pragma once
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_SELECTION_H
#define EV_SELECTION_H
#include <glib-object.h>
#include <glib.h>
#include <gdk/gdk.h>
@ -95,5 +94,3 @@ cairo_region_t *ev_selection_get_selection_region (EvSelection *selection,
EvRectangle *points);
G_END_DECLS
#endif

View File

@ -18,13 +18,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef __EV_TRANSITION_EFFECT_H__
#define __EV_TRANSITION_EFFECT_H__
#include <glib-object.h>
#include "ev-macros.h"
@ -86,5 +85,3 @@ EvTransitionEffect *ev_transition_effect_new (EvTransitionEffec
...);
G_END_DECLS
#endif /* __EV_TRANSITION_EFFECT_H__ */

View File

@ -16,8 +16,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef EV_VERSION_H
#define EV_VERSION_H
#pragma once
/**
* SECTION:ev-version
@ -55,5 +54,3 @@
#define EV_CHECK_VERSION(major,minor) \
(EV_MAJOR_VERSION > (major) || \
(EV_MAJOR_VERSION == (major) && EV_MINOR_VERSION > (minor))
#endif /* #ifndef EV_VERSION_H */

View File

@ -18,8 +18,7 @@
*
*/
#ifndef __EV_PAGE_ACTION_WIDET_H__
#define __EV_PAGE_ACTION_WIDET_H__
#pragma once
#include <evince-view.h>
@ -51,5 +50,3 @@ void ev_page_action_widget_set_model (EvPageActionWidget *action_widget
void ev_page_action_widget_grab_focus (EvPageActionWidget *proxy);
G_END_DECLS
#endif /* __EV_PAGE_ACTION_WIDET_H__ */

View File

@ -18,8 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef EV_SEARCH_BOX_H
#define EV_SEARCH_BOX_H
#pragma once
#include <gtk/gtk.h>
#include <evince-document.h>
@ -53,5 +52,3 @@ gboolean ev_search_box_has_results (EvSearchBox *box);
void ev_search_box_restart (EvSearchBox *box);
G_END_DECLS
#endif

View File

@ -19,13 +19,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (EVINCE_COMPILATION)
#error "This is a private header."
#endif
#ifndef EV_ANNOTATION_WINDOW_H
#define EV_ANNOTATION_WINDOW_H
#include <gtk/gtk.h>
#include "ev-annotation.h"
@ -58,6 +57,5 @@ void ev_annotation_window_ungrab_focus (EvAnnotationWindow *window);
void ev_annotation_window_set_enable_spellchecking (EvAnnotationWindow *window,
gboolean spellcheck);
gboolean ev_annotation_window_get_enable_spellchecking (EvAnnotationWindow *window);
G_END_DECLS
#endif /* EV_ANNOTATION_WINDOW_H */
G_END_DECLS

View File

@ -18,13 +18,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (EVINCE_COMPILATION)
#error "This is a private header."
#endif
#ifndef __EV_COLOR_CONTRAST_H__
#define __EV_COLOR_CONTRAST_H__
#include <gdk/gdk.h>
GdkRGBA *ev_color_contrast_get_most_readable_color (const GdkRGBA *bg_color,
@ -32,5 +31,3 @@ GdkRGBA *ev_color_contrast_get_most_readable_color (const GdkRGBA *bg_color,
GdkRGBA *second_color);
GdkRGBA *ev_color_contrast_get_best_foreground_color (const GdkRGBA *bg_color);
#endif /* __EV_COLOR_CONTRAST_H__ */

View File

@ -17,13 +17,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (__EV_EVINCE_VIEW_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-view.h> can be included directly."
#endif
#ifndef __EV_DOCUMENT_MODEL_H__
#define __EV_DOCUMENT_MODEL_H__
#include <glib-object.h>
#include <evince-document.h>
@ -141,5 +140,3 @@ EV_PUBLIC
gboolean ev_document_model_get_dual_page (EvDocumentModel *model);
G_END_DECLS
#endif /* __EV_DOCUMENT_MODEL_H__ */

View File

@ -19,13 +19,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (EVINCE_COMPILATION)
#error "This is a private header."
#endif
#ifndef __EV_FORM_FIELD_ACCESSIBLE_H__
#define __EV_FORM_FIELD_ACCESSIBLE_H__
#include <gtk/gtk-a11y.h>
#include "ev-page-accessible.h"
#include "ev-form-field.h"
@ -53,5 +52,3 @@ EvFormFieldAccessible *ev_form_field_accessible_new (EvPageAccessible *page,
EvRectangle *area);
EvFormField *ev_form_field_accessible_get_field (EvFormFieldAccessible *accessible);
void ev_form_field_accessible_update_state (EvFormFieldAccessible *accessible);
#endif /* __EV_FORM_FIELD_ACCESSIBLE_H__ */

View File

@ -19,13 +19,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (EVINCE_COMPILATION)
#error "This is a private header."
#endif
#ifndef __EV_IMAGE_ACCESSIBLE_H__
#define __EV_IMAGE_ACCESSIBLE_H__
#include <gtk/gtk-a11y.h>
#include "ev-page-accessible.h"
#include "ev-image.h"
@ -51,5 +50,3 @@ GType ev_image_accessible_get_type (void);
EvImageAccessible *ev_image_accessible_new (EvPageAccessible *page,
EvImage *image,
EvRectangle *area);
#endif /* __EV_IMAGE_ACCESSIBLE_H__ */

View File

@ -18,13 +18,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (__EV_EVINCE_VIEW_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-view.h> can be included directly."
#endif
#ifndef EV_JOB_SCHEDULER_H
#define EV_JOB_SCHEDULER_H
#include <glib.h>
#include <evince-document.h>
@ -50,5 +49,3 @@ EV_PUBLIC
EvJob *ev_job_scheduler_get_running_thread_job (void);
G_END_DECLS
#endif /* EV_JOB_SCHEDULER_H */

View File

@ -18,13 +18,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (__EV_EVINCE_VIEW_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-view.h> can be included directly."
#endif
#ifndef __EV_JOBS_H__
#define __EV_JOBS_H__
#include <gio/gio.h>
#include <gtk/gtk.h>
#include <cairo.h>
@ -690,5 +689,3 @@ void ev_job_print_set_cairo (EvJobPrint *job,
cairo_t *cr);
G_END_DECLS
#endif /* __EV_JOBS_H__ */

View File

@ -18,13 +18,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (EVINCE_COMPILATION)
#error "This is a private header."
#endif
#ifndef __EV_LINK_ACCESSIBLE_H__
#define __EV_LINK_ACCESSIBLE_H__
#include <gtk/gtk-a11y.h>
#include "ev-page-accessible.h"
#include "ev-link.h"
@ -51,6 +50,3 @@ GType ev_link_accessible_get_type (void);
EvLinkAccessible *ev_link_accessible_new (EvPageAccessible *page,
EvLink *link,
EvRectangle *area);
#endif /* __EV_LINK_ACCESSIBLE_H__ */

View File

@ -18,8 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef EV_MEDIA_PLAYER_H
#define EV_MEDIA_PLAYER_H
#pragma once
#include <glib-object.h>
#include <gtk/gtk.h>
@ -47,5 +46,3 @@ GtkWidget *ev_media_player_new (EvMedia *media);
EvMedia *ev_media_player_get_media (EvMediaPlayer *player);
G_END_DECLS
#endif /* EV_MEDIA_PLAYER_H */

View File

@ -20,13 +20,12 @@
* Author: Alejandro Piñeiro Iglesias <apinheiro@igalia.com>
*/
#pragma once
#if !defined (EVINCE_COMPILATION)
#error "This is a private header."
#endif
#ifndef __EV_PAGE_ACCESSIBLE_H__
#define __EV_PAGE_ACCESSIBLE_H__
#include <gtk/gtk-a11y.h>
#include "ev-view-accessible.h"
#include "ev-view.h"
@ -59,6 +58,3 @@ AtkObject *ev_page_accessible_get_accessible_for_mapping (EvPageAccessibl
EvMapping *mapping);
void ev_page_accessible_update_element_state (EvPageAccessible *page_accessible,
EvMapping *mapping);
#endif /* __EV_PAGE_ACCESSIBLE_H__ */

View File

@ -17,13 +17,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (EVINCE_COMPILATION)
#error "This is a private header."
#endif
#ifndef EV_PAGE_CACHE_H
#define EV_PAGE_CACHE_H
#include <glib-object.h>
#include <gdk/gdk.h>
#include <evince-document.h>
@ -82,5 +81,3 @@ void ev_page_cache_ensure_page (EvPageCache *cach
gboolean ev_page_cache_is_page_cached (EvPageCache *cache,
gint page);
G_END_DECLS
#endif /* EV_PAGE_CACHE_H */

View File

@ -21,13 +21,12 @@
* ev-view.c from exploding.
*/
#pragma once
#if !defined (EVINCE_COMPILATION)
#error "This is a private header."
#endif
#ifndef __EV_PIXBUF_CACHE_H__
#define __EV_PIXBUF_CACHE_H__
#include <gtk/gtk.h>
#include <evince-document.h>
@ -89,5 +88,3 @@ void ev_pixbuf_cache_set_selection_list (EvPixbufCache *pixbuf_cache
GList *ev_pixbuf_cache_get_selection_list (EvPixbufCache *pixbuf_cache);
G_END_DECLS
#endif /* __EV_PIXBUF_CACHE_H__ */

View File

@ -17,13 +17,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (__EV_EVINCE_VIEW_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-view.h> can be included directly."
#endif
#ifndef __EV_PRINT_OPERATION_H__
#define __EV_PRINT_OPERATION_H__
#include <gtk/gtk.h>
#include <glib-object.h>
@ -85,5 +84,3 @@ EV_PUBLIC
gdouble ev_print_operation_get_progress (EvPrintOperation *op);
G_END_DECLS
#endif /* __EV_PRINT_OPERATION_H__ */

View File

@ -21,13 +21,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (__EV_EVINCE_VIEW_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-view.h> can be included directly."
#endif
#ifndef __EV_STOCK_ICONS_H__
#define __EV_STOCK_ICONS_H__
#include <gdk/gdk.h>
#include <evince-document.h>
@ -64,5 +63,3 @@ EV_PUBLIC
void ev_stock_icons_set_screen (GdkScreen *screen);
G_END_DECLS
#endif /* __EV_STOCK_ICONS_H__ */

View File

@ -19,13 +19,12 @@
* Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (EVINCE_COMPILATION)
#error "This is a private header."
#endif
#ifndef __EV_TIMELINE_H__
#define __EV_TIMELINE_H__
#include <glib-object.h>
G_BEGIN_DECLS
@ -86,5 +85,3 @@ gdouble ev_timeline_get_progress (EvTimeline *ti
G_END_DECLS
#endif /* __EV_TIMELINE_H__ */

View File

@ -19,13 +19,12 @@
* Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (EVINCE_COMPILATION)
#error "This is a private header."
#endif
#ifndef __EV_TRANSITION_ANIMATION_H__
#define __EV_TRANSITION_ANIMATION_H__
#include <evince-document.h>
#include "ev-timeline.h"
#include "ev-transition-effect.h"
@ -67,7 +66,4 @@ void ev_transition_animation_paint (EvTransition
GdkRectangle page_area);
gboolean ev_transition_animation_ready (EvTransitionAnimation *animation);
G_END_DECLS
#endif /* __EV_TRANSITION_ANIMATION_H__ */

View File

@ -18,13 +18,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (EVINCE_COMPILATION)
#error "This is a private header."
#endif
#ifndef __EV_VIEW_ACCESSIBLE_H__
#define __EV_VIEW_ACCESSIBLE_H__
#include <gtk/gtk-a11y.h>
#include "ev-document-model.h"
@ -71,6 +70,3 @@ void ev_view_accessible_set_focused_element (EvViewAccessible *accessible,
void ev_view_accessible_update_element_state (EvViewAccessible *accessible,
EvMapping *element,
gint element_page);
#endif /* __EV_VIEW_ACCESSIBLE_H__ */

View File

@ -17,13 +17,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (EVINCE_COMPILATION)
#error "This is a private header."
#endif
#ifndef __EV_VIEW_CURSOR_H__
#define __EV_VIEW_CURSOR_H__
#include <gtk/gtk.h>
G_BEGIN_DECLS
@ -43,5 +42,3 @@ GdkCursor *ev_view_cursor_new (GdkDisplay *display,
EvViewCursor cursor);
G_END_DECLS
#endif /* __EV_VIEW_CURSOR_H__ */

View File

@ -18,13 +18,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (__EV_EVINCE_VIEW_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-view.h> can be included directly."
#endif
#ifndef __EV_VIEW_PRESENTATION_H__
#define __EV_VIEW_PRESENTATION_H__
#include <gtk/gtk.h>
#include <evince-document.h>
@ -62,5 +61,3 @@ EV_PUBLIC
guint ev_view_presentation_get_rotation (EvViewPresentation *pview);
G_END_DECLS
#endif /* __EV_VIEW_PRESENTATION_H__ */

View File

@ -18,13 +18,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (EVINCE_COMPILATION)
#error "This is a private header."
#endif
#ifndef __EV_VIEW_PRIVATE_H__
#define __EV_VIEW_PRIVATE_H__
#include "ev-view.h"
#include "ev-document-model.h"
#include "ev-pixbuf-cache.h"
@ -355,6 +354,3 @@ void _ev_view_focus_form_field (EvView *view,
void _ev_view_ensure_rectangle_is_visible (EvView *view,
GdkRectangle *rect);
#endif /* __EV_VIEW_PRIVATE_H__ */

View File

@ -1,12 +1,11 @@
/*** BEGIN file-header ***/
#pragma once
#if !defined (__EV_EVINCE_VIEW_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-view.h> can be included directly."
#endif
#ifndef EV_VIEW_TYPE_BUILTINS_H
#define EV_VIEW_TYPE_BUILTINS_H
#include <glib-object.h>
#include <evince-document.h>
@ -27,6 +26,4 @@ GType @enum_name@_get_type (void) G_GNUC_CONST;
/*** BEGIN file-tail ***/
G_END_DECLS
#endif /* !EV_VIEW_TYPE_BUILTINS_H */
/*** END file-tail ***/

View File

@ -17,13 +17,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#pragma once
#if !defined (__EV_EVINCE_VIEW_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-view.h> can be included directly."
#endif
#ifndef __EV_VIEW_H__
#define __EV_VIEW_H__
#include <gtk/gtk.h>
#include <evince-document.h>
@ -193,5 +192,3 @@ void ev_view_set_caret_cursor_position (EvView *view,
guint page,
guint offset);
G_END_DECLS
#endif /* __EV_VIEW_H__ */

View File

@ -19,8 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __EV_PREVIEWER_TOOLBAR_H__
#define __EV_PREVIEWER_TOOLBAR_H__
#pragma once
#include <gtk/gtk.h>
#include "ev-previewer-window.h"
@ -50,5 +49,3 @@ GtkWidget *ev_previewer_toolbar_new (EvPreviewerWindow *window
GtkWidget *ev_previewer_toolbar_get_page_selector (EvPreviewerToolbar *ev_previewer_toolbar);
G_END_DECLS
#endif /* __EV_PREVIEWER_TOOLBAR_H__ */

View File

@ -18,8 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef EV_PREVIEWER_WINDOW_H
#define EV_PREVIEWER_WINDOW_H
#pragma once
#include <gtk/gtk.h>
@ -49,5 +48,3 @@ void ev_previewer_window_set_source_file (EvPreviewerWindow *window,
const gchar *source_file);
G_END_DECLS
#endif /* EV_PREVIEWER_WINDOW_H */

View File

@ -18,8 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __EV_PROPERTIES_VIEW_H__
#define __EV_PROPERTIES_VIEW_H__
#pragma once
#include <gtk/gtk.h>
@ -46,5 +45,3 @@ void ev_properties_view_set_info (EvPropertiesView *properties,
const EvDocumentInfo *info);
G_END_DECLS
#endif /* __EV_PROPERTIES_VIEW_H__ */

View File

@ -18,8 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __EV_ANNOTATION_PROPERTIES_DIALOG_H__
#define __EV_ANNOTATION_PROPERTIES_DIALOG_H__
#pragma once
#include <gtk/gtk.h>
#include <glib-object.h>
@ -51,5 +50,3 @@ EvAnnotationTextIcon ev_annotation_properties_dialog_get_text_icon
EvAnnotationTextMarkupType ev_annotation_properties_dialog_get_text_markup_type (EvAnnotationPropertiesDialog *dialog);
G_END_DECLS
#endif /* __EV_ANNOTATION_PROPERTIES_DIALOG_H__ */

View File

@ -18,8 +18,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef __EV_ANNOTATIONS_TOOLBAR_H__
#define __EV_ANNOTATIONS_TOOLBAR_H__
#pragma once
#include <gtk/gtk.h>
@ -40,5 +39,3 @@ GtkWidget *ev_annotations_toolbar_new (void);
void ev_annotations_toolbar_add_annot_finished (EvAnnotationsToolbar *toolbar);
G_END_DECLS
#endif /* __EV_ANNOTATIONS_TOOLBAR_H__ */

View File

@ -20,8 +20,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef EV_APPLICATION_H
#define EV_APPLICATION_H
#pragma once
#ifdef HAVE_CONFIG_H
#include "config.h"
@ -76,6 +75,3 @@ void ev_application_new_window (EvApplication *application
guint32 timestamp);
G_END_DECLS
#endif /* !EV_APPLICATION_H */

View File

@ -18,8 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef EV_BOOKMARKS_H
#define EV_BOOKMARKS_H
#pragma once
#include <glib-object.h>
@ -51,8 +50,4 @@ void ev_bookmarks_delete (EvBookmarks *bookmarks,
void ev_bookmarks_update (EvBookmarks *bookmarks,
EvBookmark *bookmark);
G_END_DECLS
#endif /* EV_BOOKMARKS_H */

View File

@ -18,8 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef EV_FILE_MONITOR_H
#define EV_FILE_MONITOR_H
#pragma once
#include <glib-object.h>
@ -50,5 +49,3 @@ GType ev_file_monitor_get_type (void) G_GNUC_CONST;
EvFileMonitor *ev_file_monitor_new (const gchar *uri);
G_END_DECLS
#endif /* EV_FILE_MONITOR_H */

View File

@ -19,8 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef EV_FIND_SIDEBAR_H
#define EV_FIND_SIDEBAR_H
#pragma once
#include <gtk/gtk.h>
@ -59,6 +58,3 @@ void ev_find_sidebar_previous (EvFindSidebar *find_sidebar);
void ev_find_sidebar_next (EvFindSidebar *find_sidebar);
G_END_DECLS
#endif /* EV_FIND_SIDEBAR_H */

View File

@ -17,8 +17,7 @@
*
*/
#ifndef EV_HISTORY_H
#define EV_HISTORY_H
#pragma once
#include <glib-object.h>
#include <evince-document.h>
@ -70,5 +69,3 @@ void ev_history_thaw (EvHistory *history);
gboolean ev_history_is_frozen (EvHistory *history);
G_END_DECLS
#endif

View File

@ -18,8 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __EV_KEYRING_H__
#define __EV_KEYRING_H__
#pragma once
#include <glib.h>
#include <gio/gio.h>
@ -33,5 +32,3 @@ gboolean ev_keyring_save_password (const gchar *uri,
GPasswordSave flags);
G_END_DECLS
#endif /* __EV_KEYRING_H__ */

View File

@ -18,8 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef EV_LOADING_MESSAGE_H
#define EV_LOADING_MESSAGE_H
#pragma once
#include <gtk/gtk.h>
@ -40,5 +39,3 @@ GType ev_loading_message_get_type (void) G_GNUC_CONST;
GtkWidget *ev_loading_message_new (void);
G_END_DECLS
#endif /* EV_LOADING_MESSAGE_H */

View File

@ -19,8 +19,7 @@
*
*/
#ifndef EV_MEDIA_PLAYER_KEYS_H
#define EV_MEDIA_PLAYER_KEYS_H
#pragma once
#include <glib-object.h>
#include <gio/gio.h>
@ -45,5 +44,3 @@ EvMediaPlayerKeys *ev_media_player_keys_new (void);
void ev_media_player_keys_focused (EvMediaPlayerKeys *keys);
G_END_DECLS
#endif /* !EV_MEDIA_PLAYER_KEYS_H */

View File

@ -19,8 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef EV_MESSAGE_AREA_H
#define EV_MESSAGE_AREA_H
#pragma once
#include <gtk/gtk.h>
@ -64,5 +63,3 @@ void _ev_message_area_add_buttons_valist (EvMessageArea *area,
GtkWidget *_ev_message_area_get_main_box (EvMessageArea *area);
G_END_DECLS
#endif /* EV_MESSAGE_AREA_H */

View File

@ -18,8 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef EV_METADATA_H
#define EV_METADATA_H
#pragma once
#include <glib-object.h>
#include <gio/gio.h>
@ -68,5 +67,3 @@ gboolean ev_metadata_has_key (EvMetadata *metadata,
gboolean ev_is_metadata_supported_for_file (GFile *file);
G_END_DECLS
#endif /* EV_METADATA_H */

View File

@ -17,8 +17,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __EV_PASSWORD_VIEW_H__
#define __EV_PASSWORD_VIEW_H__
#pragma once
#include <gtk/gtk.h>
#include <gio/gio.h>
@ -53,5 +52,3 @@ const gchar *ev_password_view_get_password (EvPasswordView *password
GPasswordSave ev_password_view_get_password_save_flags (EvPasswordView *password_view);
G_END_DECLS
#endif /* __EV_PASSWORD_VIEW_H__ */

View File

@ -19,8 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef EV_PROGRESS_MESSAGE_AREA_H
#define EV_PROGRESS_MESSAGE_AREA_H
#pragma once
#include <gtk/gtk.h>
@ -57,5 +56,3 @@ void ev_progress_message_area_set_fraction (EvProgressMessageArea *area
gdouble fraction);
G_END_DECLS
#endif /* EV_PROGRESS_MESSAGE_AREA_H */

View File

@ -18,8 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __EV_PROPERTIES_DIALOG_H__
#define __EV_PROPERTIES_DIALOG_H__
#pragma once
#include "ev-document.h"
@ -43,5 +42,3 @@ void ev_properties_dialog_set_document (EvPropertiesDialog *properties,
EvDocument *document);
G_END_DECLS
#endif /* __EV_PROPERTIES_DIALOG_H__ */

View File

@ -18,8 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __EV_PROPERTIES_FONTS_H__
#define __EV_PROPERTIES_FONTS_H__
#pragma once
#include "ev-document.h"
@ -44,5 +43,3 @@ void ev_properties_fonts_set_document (EvPropertiesFonts *properties,
EvDocument *document);
G_END_DECLS
#endif /* __EV_PROPERTIES_FONTS_H__ */

Some files were not shown because too many files have changed in this diff Show More