mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
reftests: Add test for recent fix
This test checks the fix in a46368dede
This commit is contained in:
parent
075667e927
commit
8bdc2aa228
@ -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 \
|
||||
|
21
tests/reftests/sizegroups-get-preferred-null.ref.ui
Normal file
21
tests/reftests/sizegroups-get-preferred-null.ref.ui
Normal 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>
|
26
tests/reftests/sizegroups-get-preferred-null.ui
Normal file
26
tests/reftests/sizegroups-get-preferred-null.ui
Normal 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>
|
Loading…
Reference in New Issue
Block a user