mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-11 00:43:45 +01:00
Use symbolic constant
This commit is contained in:
parent
49e96c68e5
commit
0890d1bb19
@ -639,7 +639,7 @@ cb_page_widget_scaled_button_release(ZathuraPage* page_widget, GdkEventButton* e
|
|||||||
zathura_page_t* page = zathura_page_widget_get_page(page_widget);
|
zathura_page_t* page = zathura_page_widget_get_page(page_widget);
|
||||||
|
|
||||||
/* set page number (but don't scroll there. it was clicked on, so it's visible) */
|
/* set page number (but don't scroll there. it was clicked on, so it's visible) */
|
||||||
if (event->button == 1) {
|
if (event->button == GDK_BUTTON_PRIMARY) {
|
||||||
zathura_document_set_current_page_number(zathura->document, zathura_page_get_index(page));
|
zathura_document_set_current_page_number(zathura->document, zathura_page_get_index(page));
|
||||||
refresh_view(zathura);
|
refresh_view(zathura);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user