summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-02-03 11:21:23 -0500
committerMatthias Clasen <mclasen@redhat.com>2021-02-03 22:10:13 -0500
commita14a0c6315a59da5bbdc94f31812f04ceadb7c87 (patch)
treec87a11a303d12a25ef5248e4386e194bb7e2280e /testsuite
parent38481680e15167ea854e7cac12cfa18add9b610b (diff)
downloadgtk+-a14a0c6315a59da5bbdc94f31812f04ceadb7c87.tar.gz
css: Fix shadow value equal
This function was not doing the right thing. Once we are doing the right thing and not compare shadows as unequal, some reftests that inhibit snapshots for a few frames now hang forever, since we are no more redrawing unnecessarily. Fix that with an explicit queue_draw.
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/reftests/frame-inhibitor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/reftests/frame-inhibitor.c b/testsuite/reftests/frame-inhibitor.c
index 567dc07ae1..9d699c4224 100644
--- a/testsuite/reftests/frame-inhibitor.c
+++ b/testsuite/reftests/frame-inhibitor.c
@@ -30,6 +30,7 @@ tick_callback_for_1_frame (GtkWidget *widget,
gpointer unused)
{
reftest_uninhibit_snapshot ();
+ gtk_widget_queue_draw (widget);
return G_SOURCE_REMOVE;
}