Commit 478d18f6 authored by Michael Natterer's avatar Michael Natterer 😴

app: remove gdk_window_process_updates() from gimp_overlay_box_scroll()

All calls have to go away finally, but removing it from other places
involves some refactoring I have not completed yet.
parent 06282f28
......@@ -493,8 +493,8 @@ gimp_overlay_box_set_child_opacity (GimpOverlayBox *box,
* @offset_x: the x scroll amount.
* @offset_y: the y scroll amount.
* Scrolls the box using gdk_window_scroll() and makes sure the result
* is displayed immediately by calling gdk_window_process_updates().
* Scrolls the box using gdk_window_scroll(), taking care of properly
* handling overlay children.
gimp_overlay_box_scroll (GimpOverlayBox *box,
......@@ -532,7 +532,4 @@ gimp_overlay_box_scroll (GimpOverlayBox *box,
gimp_overlay_child_invalidate (box, child);
/* Make sure expose events are processed before scrolling again */
gdk_window_process_updates (window, FALSE);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment