mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 10:26:00 +01:00
Save zathura object in zathura_ocument_t
This commit is contained in:
parent
48d5dad99d
commit
a80770a320
2 changed files with 2 additions and 0 deletions
|
@ -219,6 +219,7 @@ zathura_document_open(zathura_t* zathura, const char* path, const char* password
|
|||
document->rotate = 0;
|
||||
document->data = NULL;
|
||||
document->pages = NULL;
|
||||
document->zathura = zathura;
|
||||
|
||||
document->functions.document_free = NULL;
|
||||
document->functions.document_index_generate = NULL;
|
||||
|
|
|
@ -164,6 +164,7 @@ struct zathura_document_s
|
|||
double scale; /**> Scale value */
|
||||
int rotate; /**> Rotation */
|
||||
void* data; /**> Custom data */
|
||||
zathura_t* zathura; /** Zathura object */
|
||||
|
||||
struct
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue