diff options
author | Matthias Clasen <mclasen@redhat.com> | 2017-08-28 19:11:45 -0400 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2017-09-19 18:39:03 +0200 |
commit | b350db58e071349ff8ba205660c3e2396be9cebb (patch) | |
tree | b5ebf8b8a7a73f4a727856adc68064c9c32b678e /testsuite/reftests/reftest-snapshot.c | |
parent | e1ea408161ab3a3f6e27826be419d30e1dbb4493 (diff) | |
download | gtk+-b350db58e071349ff8ba205660c3e2396be9cebb.tar.gz |
testsuite: Use GdkEvent API
Diffstat (limited to 'testsuite/reftests/reftest-snapshot.c')
-rw-r--r-- | testsuite/reftests/reftest-snapshot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/reftests/reftest-snapshot.c b/testsuite/reftests/reftest-snapshot.c index 1e4e1fde37..ec7f90fcfe 100644 --- a/testsuite/reftests/reftest-snapshot.c +++ b/testsuite/reftests/reftest-snapshot.c @@ -88,7 +88,7 @@ reftest_uninhibit_snapshot (void) static void check_for_draw (GdkEvent *event, gpointer data) { - if (event->type == GDK_EXPOSE) + if (gdk_event_get_event_type (event) == GDK_EXPOSE) { reftest_uninhibit_snapshot (); gdk_event_handler_set ((GdkEventFunc) gtk_main_do_event, NULL, NULL); |