mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 12:26:01 +01:00
CS
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
9929d34a76
commit
2205156738
1 changed files with 6 additions and 4 deletions
|
@ -1196,7 +1196,8 @@ position_set(zathura_t* zathura, double position_x, double position_y)
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
refresh_view(zathura_t* zathura) {
|
refresh_view(zathura_t* zathura)
|
||||||
|
{
|
||||||
g_return_if_fail(zathura != NULL);
|
g_return_if_fail(zathura != NULL);
|
||||||
|
|
||||||
/* emit a custom refresh-view signal */
|
/* emit a custom refresh-view signal */
|
||||||
|
@ -1206,7 +1207,8 @@ refresh_view(zathura_t* zathura) {
|
||||||
|
|
||||||
|
|
||||||
bool
|
bool
|
||||||
adjust_view(zathura_t* zathura) {
|
adjust_view(zathura_t* zathura)
|
||||||
|
{
|
||||||
g_return_val_if_fail(zathura != NULL, false);
|
g_return_val_if_fail(zathura != NULL, false);
|
||||||
|
|
||||||
if (zathura->ui.page_widget == NULL || zathura->document == NULL) {
|
if (zathura->ui.page_widget == NULL || zathura->document == NULL) {
|
||||||
|
@ -1428,7 +1430,7 @@ zathura_jumplist_save(zathura_t* zathura)
|
||||||
|
|
||||||
unsigned int pagenum = zathura_document_get_current_page_number(zathura->document);
|
unsigned int pagenum = zathura_document_get_current_page_number(zathura->document);
|
||||||
|
|
||||||
if (cur) {
|
if (cur != NULL) {
|
||||||
cur->page = pagenum;
|
cur->page = pagenum;
|
||||||
cur->x = zathura_document_get_position_x(zathura->document);
|
cur->x = zathura_document_get_position_x(zathura->document);
|
||||||
cur->y = zathura_document_get_position_y(zathura->document);
|
cur->y = zathura_document_get_position_y(zathura->document);
|
||||||
|
|
Loading…
Reference in a new issue