From b59d2d1afac8b6a99eb63372d5a5de1acb25017c Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Sun, 22 Jun 2014 09:21:35 -0400 Subject: [PATCH] gdkwindow: Move a variable closer to where it's used To make the code clearer. --- gdk/gdkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c index c91fc3f3a0..b8bc59b0c1 100644 --- a/gdk/gdkwindow.c +++ b/gdk/gdkwindow.c @@ -3370,12 +3370,12 @@ gdk_window_process_updates_internal (GdkWindow *window) g_usleep (70000); } - expose_region = cairo_region_copy (update_area); impl_class = GDK_WINDOW_IMPL_GET_CLASS (window->impl); if (impl_class->queue_antiexpose) impl_class->queue_antiexpose (window, update_area); + expose_region = cairo_region_copy (update_area); impl_class->process_updates_recurse (window, expose_region); cairo_region_destroy (expose_region); }