Skip to content

Commit 704107b

Browse files
author
raveit65
committed
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
1 parent 416dc9b commit 704107b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/eom-scroll-view.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -609,10 +609,7 @@ scroll_to (EomScrollView *view, int x, int y, gboolean change_adjustments)
609609

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

612-
/* Scroll the window area and process exposure synchronously. */
613-
614612
gdk_window_scroll (window, -xofs, -yofs);
615-
gdk_window_process_updates (window, TRUE);
616613

617614
out:
618615
if (!change_adjustments)

0 commit comments

Comments
 (0)