mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-02-27 17:14:40 +01:00
Updated document.c/zathura.c
This commit is contained in:
parent
0d5a06ce29
commit
536862900e
2 changed files with 2 additions and 2 deletions
|
@ -218,7 +218,7 @@ zathura_document_open(zathura_t* zathura, const char* path, const char* password
|
||||||
|
|
||||||
girara_list_iterator_t* iter = girara_list_iterator(zathura->plugins.plugins);
|
girara_list_iterator_t* iter = girara_list_iterator(zathura->plugins.plugins);
|
||||||
if (iter == NULL) {
|
if (iter == NULL) {
|
||||||
return;
|
goto error_free;
|
||||||
}
|
}
|
||||||
|
|
||||||
do {
|
do {
|
||||||
|
|
|
@ -146,7 +146,7 @@ document_open(zathura_t* zathura, const char* path, const char* password)
|
||||||
girara_set_view(zathura->ui.session, zathura->ui.page_view);
|
girara_set_view(zathura->ui.session, zathura->ui.page_view);
|
||||||
|
|
||||||
/* threads */
|
/* threads */
|
||||||
zathura->sync.render_thread = render_init();
|
zathura->sync.render_thread = render_init(zathura);
|
||||||
|
|
||||||
if (!zathura->sync.render_thread) {
|
if (!zathura->sync.render_thread) {
|
||||||
goto error_free;
|
goto error_free;
|
||||||
|
|
Loading…
Add table
Reference in a new issue