reftests: Add test for recent fix

This test checks the fix in a46368dede
This commit is contained in:
Benjamin Otte 2012-11-04 17:57:49 +01:00
parent 075667e927
commit 8bdc2aa228
3 changed files with 49 additions and 0 deletions

View File

@ -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 \

View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.0 -->
<object class="GtkWindow" id="window1">
<property name="can_focus">False</property>
<property name="type">popup</property>
<child>
<object class="GtkFixed" id="grid1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="label" translatable="yes">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.</property>
<property name="wrap">True</property>
</object>
</child>
</object>
</child>
</object>
</interface>

View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.0 -->
<object class="GtkWindow" id="window1">
<property name="can_focus">False</property>
<property name="type">popup</property>
<child>
<object class="GtkFixed" id="grid1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="label" translatable="yes">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.</property>
<property name="wrap">True</property>
</object>
</child>
</object>
</child>
</object>
<object class="GtkSizeGroup" id="sizegroup1">
<widgets>
<widget name="label1" />
</widgets>
</object>
</interface>