Skip to content

Commit

Permalink
scroll-view: Remove a gdk_window_process_updates call
Browse files Browse the repository at this point in the history
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 23, 2018
1 parent 416dc9b commit 704107b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/eom-scroll-view.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 704107b

Please sign in to comment.