tests: Remove untrue assertion

Even if something is not at the top, things might still not be scrolled.
For example in the case where things are exactly at the center.
This commit is contained in:
Benjamin Otte 2012-02-06 21:49:17 +01:00
parent 75eddfffbb
commit 33864064f4

View File

@ -399,7 +399,6 @@ assert_position_with_align (GtkTreeView *tree_view,
*/
g_assert (row_start >= gtk_adjustment_get_page_size (vadjustment)
|| row_start + row_height >= gtk_adjustment_get_page_size (vadjustment));
g_assert (gtk_adjustment_get_value (vadjustment) > 0);
g_assert (row_y == gtk_adjustment_get_page_size (vadjustment) - row_height);
}
break;