diff options
author | Benjamin Otte <otte@redhat.com> | 2018-03-21 21:58:08 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2018-03-21 23:28:26 +0100 |
commit | b01ee88f11b85ef3370f5b70d0800abff561c163 (patch) | |
tree | a78399ae5b7043fe44286c4813ffda866a1a1e76 /gdk/gdksurface.c | |
parent | ade14779b1169c2136e27e2bfc82055dca0443e6 (diff) | |
download | gtk+-b01ee88f11b85ef3370f5b70d0800abff561c163.tar.gz |
surface: Make process_updates no longer be a vfunc
Diffstat (limited to 'gdk/gdksurface.c')
-rw-r--r-- | gdk/gdksurface.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/gdk/gdksurface.c b/gdk/gdksurface.c index b2cdc558be..fd3c213506 100644 --- a/gdk/gdksurface.c +++ b/gdk/gdksurface.c @@ -2067,9 +2067,9 @@ gdk_surface_schedule_update (GdkSurface *surface) GDK_FRAME_CLOCK_PHASE_PAINT); } -void -_gdk_surface_process_updates_recurse (GdkSurface *surface, - cairo_region_t *expose_region) +static void +gdk_surface_process_updates_recurse (GdkSurface *surface, + cairo_region_t *expose_region) { GdkEvent *event; @@ -2093,8 +2093,6 @@ _gdk_surface_process_updates_recurse (GdkSurface *surface, static void gdk_surface_process_updates_internal (GdkSurface *surface) { - GdkSurfaceImplClass *impl_class; - /* Ensure the surface lives while updating it */ g_object_ref (surface); @@ -2117,9 +2115,7 @@ gdk_surface_process_updates_internal (GdkSurface *surface) expose_region = cairo_region_copy (surface->active_update_area); - impl_class = GDK_SURFACE_IMPL_GET_CLASS (surface->impl); - - impl_class->process_updates_recurse (surface, expose_region); + gdk_surface_process_updates_recurse (surface, expose_region); gdk_surface_append_old_updated_area (surface, surface->active_update_area); |