reftests: Add a message to the test output

Emit a message that ends up in the test output if we are modifying
the test on the fly.
This commit is contained in:
Matthias Clasen 2016-01-31 14:06:34 -05:00
parent a898dc6e9f
commit 2423eb11e3

View File

@ -40,6 +40,8 @@ strip_attributes_if_no_animation (GtkWidget *widget)
if (enabled) if (enabled)
return; return;
g_message ("Unsetting text attributes because animation is disabled.");
reftest_inhibit_snapshot (); reftest_inhibit_snapshot ();
gtk_label_set_attributes (GTK_LABEL (widget), NULL); gtk_label_set_attributes (GTK_LABEL (widget), NULL);
g_timeout_add (500, unblock, NULL); g_timeout_add (500, unblock, NULL);