Use set_adjustment in position_set_delayed_impl

This commit is contained in:
Moritz Lipp 2012-05-01 13:39:22 +02:00
parent c2b0f7c20f
commit e4c145a67e

View File

@ -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;
}