1
0
mirror of https://gitlab.gnome.org/GNOME/evince synced 2024-07-05 00:59:07 +00:00
Commit Graph

13 Commits

Author SHA1 Message Date
Christian Persch
60ba7b0ee5 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".
2021-12-15 02:24:07 +00:00
Christian Persch
d9134ec555 libdocument: Sort evince-document.h includes 2021-12-01 16:51:33 +01:00
Christian Persch
16c94dd3ad libdocument: Add missing headers to evince-document.h
It should include *all* public headers directly.
2021-12-01 16:51:33 +01:00
William Jon McCann
da7296f4f4 Add include for document-text
https://bugzilla.gnome.org/show_bug.cgi?id=692778
2013-01-29 16:24:08 +01:00
Christian Persch
86f3e1b95d libdocument: Add deprecation macros
Add deprecation macros similar to GLIB_DEPRECATED[_FOR].
2012-06-24 12:12:48 +02:00
Carlos Garcia Campos
6ac3eb8adb Remove EvDocumentThumbnails interface
The only method get_thumbnail() has been moved to EvDocument. Thumbnails
are always implemented by backends since it's usually just rendering the
page at a lower scale factor. EvDocument provides a default
implementation so that most of the backends don't even need to implement
it.
2010-08-19 15:41:25 +02:00
Carlos Garcia Campos
eda5b9b1b5 [libdocument] Add ev-annotation.h to evince-document.h 2010-07-12 19:12:02 +02:00
Carlos Garcia Campos
356536f6b8 Add EvMappingList data struct instead of using a GList
It just wraps the GList and adds reference counting
2010-07-12 19:12:01 +02:00
Arun Persaud
19a00ed1cd Update FSF address everywhere.
updated where 'git grep Temple' showed an old address, not including po-files.

Fixes bug# 514607.

Signed-off-by: Arun Persaud <arun@nubati.net>
2010-04-05 11:24:46 +02:00
Tomeu Vizoso
11524180d8 Include ev-document-attachments.h to evince-document.h 2009-12-16 14:32:26 -02:00
Carlos Garcia Campos
361706c42c [libdocument] Add EvDocumentPrint interface
It allows rendering pages into a cairo context.
2009-05-17 16:40:31 +02:00
Christian Persch
2d8aad40e1 A libdocument/ev-init.[ch]: Add single init/shutdown method. Bug #569117.
* evince-document.h:
	* libdocument/Makefile.am:
	A libdocument/ev-init.[ch]: Add single init/shutdown method. Bug
	#569117.

	* libdocument/ev-backends-manager.c: (_ev_backends_manager_init):
	* libdocument/ev-backends-manager.h:
	* libdocument/ev-debug.c: (_ev_debug_init), (_ev_debug_shutdown):
	* libdocument/ev-debug.h:
	* libdocument/ev-file-helpers.c: (_ev_file_helpers_init),
	(_ev_file_helpers_shutdown):
	* libdocument/ev-file-helpers.h: Make these init/shutdown methods
	private.

	* properties/ev-properties-main.c: (nautilus_module_initialize),
	(nautilus_module_shutdown):
	* shell/main.c: (main):
	* thumbnailer/evince-thumbnailer.c: (main): Use the new single
	init/shutdown method.

svn path=/trunk/; revision=3391
2009-01-30 18:40:17 +00:00
Christian Persch
4912987303 Renamed from evince-backend.pc.in. Renamed library to libevdocument.la.
* configure.ac:
        * evince-document.pc.in: Renamed from evince-backend.pc.in.
        * libdocument/Makefile.am: Renamed library to libevdocument.la.
        * libview/Makefile.am:
        * shell/Makefile.am:
        * backend/*/Makefile.am: Adapt to changed library name.

        * libdocument/Makefile.am:
        * libview/Makefile.am: Change the installed headers path to match
        the directory names in SVN.

        * evince-document.h:
        * evince-view.h: Add single headers. Bug #568227.

        * libdocument/*.h:
        * libview/*.h: Add single headers guards.

        * libview/Makefile.am:
        * libdocument/Makefile.am:
        * backend/*/Makefile.am:
        * help/reference/Makefile.am: Define EVINCE_COMPILATION, so we can
        still include individual headers.

        * properties/Makefile.am:
        * properties/ev-properties-main.c:
        * properties/ev-properties-view.h:
        * thumbnailer/Makefile.am:
        * thumbnailer/evince-thumbnailer.c: Include only evince-document.h.

        * libdocument/Makefile.am:
        * libview/Makefile.am: Generate type builtins from all installed headers.
        * libdocument/ev-link-action.[ch]:
        * libdocument/ev-link-dest.[ch]:
        * libdocument/ev-transition-effect.[ch]:
        * libview/ev-view.[ch]: Remove handcoded type builtins.

        * libdocument/Makefile.am:
        * evince-document.h: Add ev-document-factory.h to the public headers.

svn path=/trunk/; revision=3381
2009-01-25 15:08:57 +00:00