mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-10 22:13:48 +01:00
Use set_adjustment in position_set_delayed_impl
This commit is contained in:
parent
c2b0f7c20f
commit
e4c145a67e
@ -939,8 +939,8 @@ position_set_delayed_impl(gpointer data)
|
|||||||
GtkAdjustment* vadjustment = gtk_scrolled_window_get_vadjustment(window);
|
GtkAdjustment* vadjustment = gtk_scrolled_window_get_vadjustment(window);
|
||||||
GtkAdjustment* hadjustment = gtk_scrolled_window_get_hadjustment(window);
|
GtkAdjustment* hadjustment = gtk_scrolled_window_get_hadjustment(window);
|
||||||
|
|
||||||
gtk_adjustment_set_value(hadjustment, p->position_x);
|
set_adjustment(hadjustment, p->position_x);
|
||||||
gtk_adjustment_set_value(vadjustment, p->position_y);
|
set_adjustment(vadjustment, p->position_y);
|
||||||
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user