Save zathura object in zathura_ocument_t

This commit is contained in:
Moritz Lipp 2011-04-19 17:46:44 +02:00
parent 48d5dad99d
commit a80770a320
2 changed files with 2 additions and 0 deletions

View file

@ -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;

View file

@ -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
{