mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-11 00:13:47 +01:00
Update visible pages after opening the file
This commit is contained in:
parent
caa27db95d
commit
1608249709
@ -51,7 +51,7 @@ cb_buffer_changed(girara_session_t* session)
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
void
|
||||
update_visible_pages(zathura_t* zathura)
|
||||
{
|
||||
const unsigned int number_of_pages = zathura_document_get_number_of_pages(zathura->document);
|
||||
|
@ -206,5 +206,8 @@ void cb_page_widget_scaled_button_release(ZathuraPage* page,
|
||||
void
|
||||
cb_page_widget_link(ZathuraPage* page, void* data);
|
||||
|
||||
void
|
||||
update_visible_pages(zathura_t* zathura);
|
||||
|
||||
|
||||
#endif // CALLBACKS_H
|
||||
|
Loading…
Reference in New Issue
Block a user