mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 22:20:24 +00:00
gdkwindow: Move a variable closer to where it's used
To make the code clearer.
This commit is contained in:
parent
b2be9c0a9b
commit
b59d2d1afa
@ -3370,12 +3370,12 @@ gdk_window_process_updates_internal (GdkWindow *window)
|
|||||||
g_usleep (70000);
|
g_usleep (70000);
|
||||||
}
|
}
|
||||||
|
|
||||||
expose_region = cairo_region_copy (update_area);
|
|
||||||
impl_class = GDK_WINDOW_IMPL_GET_CLASS (window->impl);
|
impl_class = GDK_WINDOW_IMPL_GET_CLASS (window->impl);
|
||||||
|
|
||||||
if (impl_class->queue_antiexpose)
|
if (impl_class->queue_antiexpose)
|
||||||
impl_class->queue_antiexpose (window, update_area);
|
impl_class->queue_antiexpose (window, update_area);
|
||||||
|
|
||||||
|
expose_region = cairo_region_copy (update_area);
|
||||||
impl_class->process_updates_recurse (window, expose_region);
|
impl_class->process_updates_recurse (window, expose_region);
|
||||||
cairo_region_destroy (expose_region);
|
cairo_region_destroy (expose_region);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user