mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 13:16:00 +01:00
Use set_adjustment in position_set_delayed_impl
This commit is contained in:
parent
c2b0f7c20f
commit
e4c145a67e
1 changed files with 2 additions and 2 deletions
|
@ -939,8 +939,8 @@ position_set_delayed_impl(gpointer data)
|
|||
GtkAdjustment* vadjustment = gtk_scrolled_window_get_vadjustment(window);
|
||||
GtkAdjustment* hadjustment = gtk_scrolled_window_get_hadjustment(window);
|
||||
|
||||
gtk_adjustment_set_value(hadjustment, p->position_x);
|
||||
gtk_adjustment_set_value(vadjustment, p->position_y);
|
||||
set_adjustment(hadjustment, p->position_x);
|
||||
set_adjustment(vadjustment, p->position_y);
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue