tests: Update adjustment usage for sealing

This commit is contained in:
Benjamin Otte 2011-01-05 13:27:12 +01:00
parent 79cc672f3f
commit bb64831987

View File

@ -892,7 +892,7 @@ scroll_new_row_tree (ScrollFixture *fixture,
gtk_main_iteration ();
/* Test position, the scroll bar must be at the end */
g_assert (vadjustment->value == vadjustment->upper - vadjustment->page_size);
g_assert (gtk_adjustment_get_value (vadjustment) == gtk_adjustment_get_upper (vadjustment) - gtk_adjustment_get_page_size (vadjustment));
}
}