mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-10 21:53:46 +01:00
drop unnecessary calls
This commit is contained in:
parent
ba0ee61dfe
commit
460b517998
@ -128,6 +128,7 @@ sc_follow(girara_session_t* session, girara_argument_t* UNUSED(argument),
|
||||
continue;
|
||||
}
|
||||
|
||||
g_object_set(page->drawing_area, "search-results", NULL, NULL);
|
||||
if (page->visible == true) {
|
||||
g_object_set(page->drawing_area, "draw-links", TRUE, NULL);
|
||||
} else {
|
||||
|
@ -577,10 +577,6 @@ page_set(zathura_t* zathura, unsigned int page_id)
|
||||
gtk_adjustment_set_value(view_hadjustment, offset.x);
|
||||
gtk_adjustment_set_value(view_vadjustment, offset.y);
|
||||
|
||||
/* update page number */
|
||||
zathura->document->current_page_number = page_id;
|
||||
statusbar_page_number_update(zathura);
|
||||
|
||||
return true;
|
||||
|
||||
error_out:
|
||||
|
Loading…
Reference in New Issue
Block a user