testsuite/gtk/scrolledwindow: Fix a copy-paste-o

It measured horizontal size when it needs height, making the test fail.
This commit is contained in:
Daniel Boles
2017-05-10 19:11:16 +01:00
parent daccf61dcf
commit 91f2a310ab

View File

@@ -64,7 +64,7 @@ test_size (GtkOrientation orientation,
{
gtk_scrolled_window_set_min_content_height (GTK_SCROLLED_WINDOW (scrolledwindow), MIN_SIZE);
gtk_widget_measure (scrolledwindow, GTK_ORIENTATION_HORIZONTAL, -1,
gtk_widget_measure (scrolledwindow, GTK_ORIENTATION_VERTICAL, -1,
&size, NULL, NULL, NULL);
g_assert_cmpint (size, ==, MIN_SIZE);