summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2018-07-22 17:30:39 +0200
committerraveit65 <[email protected]>2018-07-23 23:14:12 +0200
commit704107b490aa9e33ac805f08af8f9a9f35b0bb75 (patch)
tree6a1c41f4716e36ecb4392a04af23e9186c40a9b6 /src
parent416dc9be3cdfb8e2eb5c07f17f2ce4bb7a9848dc (diff)
downloadeom-704107b490aa9e33ac805f08af8f9a9f35b0bb75.tar.bz2
eom-704107b490aa9e33ac805f08af8f9a9f35b0bb75.tar.xz
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
Diffstat (limited to 'src')
-rw-r--r--src/eom-scroll-view.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/eom-scroll-view.c b/src/eom-scroll-view.c
index 1458c18..fd030a2 100644
--- a/src/eom-scroll-view.c
+++ b/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)