diff --git a/tests/reftests/Makefile.am b/tests/reftests/Makefile.am index 709b253b36..a02b44a349 100644 --- a/tests/reftests/Makefile.am +++ b/tests/reftests/Makefile.am @@ -229,6 +229,8 @@ EXTRA_DIST += \ sizegroups-basics.ref.ui \ sizegroups-evolution-identity-page.ui \ sizegroups-evolution-identity-page.ref.ui \ + sizegroups-get-preferred-null.ui \ + sizegroups-get-preferred-null.ref.ui \ style-properties-nth-child.css \ style-properties-nth-child.ref.ui \ style-properties-nth-child.ui \ diff --git a/tests/reftests/sizegroups-get-preferred-null.ref.ui b/tests/reftests/sizegroups-get-preferred-null.ref.ui new file mode 100644 index 0000000000..54aa61c4b0 --- /dev/null +++ b/tests/reftests/sizegroups-get-preferred-null.ref.ui @@ -0,0 +1,21 @@ + + + + + False + popup + + + True + False + + + True + Check that a container that calls gtk_widget_get_preferred_width/height() with natural or minimum being NULL doesn't cause a crash with size groups. + True + + + + + + diff --git a/tests/reftests/sizegroups-get-preferred-null.ui b/tests/reftests/sizegroups-get-preferred-null.ui new file mode 100644 index 0000000000..23b78f95d1 --- /dev/null +++ b/tests/reftests/sizegroups-get-preferred-null.ui @@ -0,0 +1,26 @@ + + + + + False + popup + + + True + False + + + True + Check that a container that calls gtk_widget_get_preferred_width/height() with natural or minimum being NULL doesn't cause a crash with size groups. + True + + + + + + + + + + +