diff --git a/tests/animated-resizing.c b/tests/animated-resizing.c index c37106dda3..8660089276 100644 --- a/tests/animated-resizing.c +++ b/tests/animated-resizing.c @@ -66,7 +66,7 @@ ensure_resources(cairo_surface_t *target) } } -static void +static gboolean on_window_draw (GtkWidget *widget, cairo_t *cr) @@ -108,6 +108,8 @@ on_window_draw (GtkWidget *widget, } g_rand_free(rand); + + return FALSE; } static void diff --git a/tests/video-timer.c b/tests/video-timer.c index e665c6da7f..bc5de1e5fe 100644 --- a/tests/video-timer.c +++ b/tests/video-timer.c @@ -190,7 +190,7 @@ adjust_clock_for_phase (gint64 frame_clock_time, /* Drawing */ -static void +static gboolean on_window_draw (GtkWidget *widget, cairo_t *cr) { @@ -224,6 +224,8 @@ on_window_draw (GtkWidget *widget, displayed_frame->frame_counter = gdk_frame_clock_get_frame_counter (frame_clock); } } + + return FALSE; } static void