Skip to content
Permalink
Browse files

fixed gdk_flush warning

  • Loading branch information...
yetist authored and raveit65 committed May 8, 2018
1 parent f99b47b commit ce87b58ea6349d0a2b48ae1f7f01d5783027f7f5
Showing with 4 additions and 1 deletion.
  1. +4 −1 savers/floaters.c
@@ -1109,7 +1109,10 @@ screen_saver_do_update_state (ScreenSaver *screen_saver)
*/
if (screen_saver->draw_ops_pending)
{
gdk_flush ();
GdkDisplay *display;

display = gtk_widget_get_display (GTK_WIDGET(screen_saver->drawing_area));
gdk_display_flush (display);
screen_saver->draw_ops_pending = FALSE;
}

0 comments on commit ce87b58

Please sign in to comment.
You can’t perform that action at this time.