summaryrefslogtreecommitdiff
path: root/testsuite/reftests
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-05-21 23:11:47 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-05-22 10:48:33 -0400
commite60ea00e8ba2ed7096d72a1ced0abd7679a1d1fd (patch)
tree3bf3f7bf4bac59921c2f3081697d203d2020487a /testsuite/reftests
parent01df1334011c50bc64c5f88cdb11f96cd5ba1801 (diff)
downloadgtk+-e60ea00e8ba2ed7096d72a1ced0abd7679a1d1fd.tar.gz
reftests: Fix the background-origin test
This was broken when I accidentally removed one of the buttons.
Diffstat (limited to 'testsuite/reftests')
-rw-r--r--testsuite/reftests/background-origin.ui12
-rw-r--r--testsuite/reftests/meson.build1
2 files changed, 12 insertions, 1 deletions
diff --git a/testsuite/reftests/background-origin.ui b/testsuite/reftests/background-origin.ui
index 2adfbb3c9e..b9147995c0 100644
--- a/testsuite/reftests/background-origin.ui
+++ b/testsuite/reftests/background-origin.ui
@@ -6,6 +6,10 @@
<object class="GtkBox" id="box1">
<property name="orientation">vertical</property>
<property name="spacing">5</property>
+ <property name="margin-top">5</property>
+ <property name="margin-bottom">5</property>
+ <property name="margin-start">5</property>
+ <property name="margin-end">5</property>
<child>
<object class="GtkButton" id="button1">
<property name="name">button1</property>
@@ -15,6 +19,14 @@
</object>
</child>
<child>
+ <object class="GtkButton" id="button2">
+ <property name="name">button2</property>
+ <property name="receives_default">1</property>
+ <property name="width_request">144</property>
+ <property name="height_request">70</property>
+ </object>
+ </child>
+ <child>
<object class="GtkButton" id="button3">
<property name="name">button3</property>
<property name="receives_default">1</property>
diff --git a/testsuite/reftests/meson.build b/testsuite/reftests/meson.build
index 16bfa5231b..9dcfc3925e 100644
--- a/testsuite/reftests/meson.build
+++ b/testsuite/reftests/meson.build
@@ -433,7 +433,6 @@ testdata = [
# These need to be fixed but the issue hasn't been tracked down.
xfails = [
- 'background-origin.ui',
# see above
#'sizegroups-evolution-identity-page.ui',
# these depend on details of text layout