diff --git a/gdk/gdkframeclockidle.c b/gdk/gdkframeclockidle.c index 10c4e5cd2a..9c0c7263dd 100644 --- a/gdk/gdkframeclockidle.c +++ b/gdk/gdkframeclockidle.c @@ -373,6 +373,9 @@ gdk_frame_clock_flush_idle (void *data) else priv->phase = GDK_FRAME_CLOCK_PHASE_NONE; + g_clear_handle_id (&priv->paint_idle_id, g_source_remove); + gdk_frame_clock_paint_idle (data); + return FALSE; }