drop unnecessary calls

This commit is contained in:
Sebastian Ramacher 2012-02-07 17:32:03 +01:00
parent ba0ee61dfe
commit 460b517998
2 changed files with 1 additions and 4 deletions

View File

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

View File

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