Add a way to delay snapshots in reftests

This adds an inhibit api that code from the reftest module
can use to delay the taking of the snapshot. Also refactor
the code in gtk-reftest to use the inhibit mechanism for
its own delaying of the snapshot until after the first
expose.
This commit is contained in:
Matthias Clasen
2014-06-02 22:31:49 -04:00
parent 16c89eb5f7
commit b86f5a4086
3 changed files with 59 additions and 6 deletions

View File

@ -28,7 +28,8 @@ gtk_reftest_LDADD = \
gtk_reftest_SOURCES = \
reftest-module.c \
reftest-module.h \
gtk-reftest.c
gtk-reftest.c \
gtk-reftest.h
clean-local:
rm -rf output/ || true