toolbar: Use gdk_display_flush()

Instead of the deprecated gdk_flush().
This commit is contained in:
Emmanuele Bassi 2018-02-11 15:38:20 +00:00
parent 81c0e7af0e
commit 4e5ef1a377

View File

@ -1216,7 +1216,7 @@ slide_idle_handler (gpointer data)
if (priv->need_sync)
{
gdk_flush ();
gdk_display_flush (gtk_widget_get_display (data));
priv->need_sync = FALSE;
}