Skip to content
Permalink
Browse files

scroll-view: Remove a gdk_window_process_updates call

gtk+ will process the updates itself once the time comes.

inspired by:
https://gitlab.gnome.org/GNOME/eog/commit/fbfd90f
  • Loading branch information...
raveit65 committed Jul 22, 2018
1 parent 416dc9b commit 704107b490aa9e33ac805f08af8f9a9f35b0bb75
Showing with 0 additions and 3 deletions.
  1. +0 −3 src/eom-scroll-view.c
@@ -609,10 +609,7 @@ scroll_to (EomScrollView *view, int x, int y, gboolean change_adjustments)

window = gtk_widget_get_window (GTK_WIDGET (priv->display));

/* Scroll the window area and process exposure synchronously. */

gdk_window_scroll (window, -xofs, -yofs);
gdk_window_process_updates (window, TRUE);

out:
if (!change_adjustments)

0 comments on commit 704107b

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