The minor version number of the EV library (e.g. in version 3.1.4 this is 1).
Compresses the file at uri
.
If type
is %EV_COMPRESSION_NONE, it does nothing and returns %NULL.
Otherwise, it returns the filename of a
temporary file containing the compressed data from the file at uri
.
On error it returns %NULL and fills in error
.
It is the caller's responsibility to unlink the temp file after use.
a file URI
the compression type
Performs a g_file_copy_attributes() with %G_FILE_COPY_ALL_METADATA
from from
to to
.
the source URI
the target URI
Uncompresses the file at uri
.
If type
is %EV_COMPRESSION_NONE, it does nothing and returns %NULL.
Otherwise, it returns the filename of a
temporary file containing the decompressed data from the file at uri
.
On error it returns %NULL and fills in error
.
It is the caller's responsibility to unlink the temp file after use.
a file URI
the compression type
Initializes the evince document library, and binds the evince gettext domain.
You must call this before calling any other function in the evince document library.
Creates a temp directory in the evince temp directory.
a template string; must end in 'XXXXXX'
Creates a temp file in the evince temp directory.
a template string; must contain 'XXXXXX', but not necessarily as a suffix
a location to store the filename of the temp file
Checks whether evince should use the portal.
Shuts the evince document library down.
Performs a g_file_copy() from from
to to
.
the source URI
the target URI
The major version number of the EV library (e.g. in version 3.1.4 this is 3).