wayland: Rename subsurface commit role function

This is to make it obvious it is an implementation of a role class
vfunc.

https://bugzilla.gnome.org/show_bug.cgi?id=763431
This commit is contained in:
Jonas Ådahl 2016-03-04 12:13:18 +08:00
parent 23b1b5f57e
commit 5e54f322ab

View File

@ -527,8 +527,8 @@ meta_wayland_pending_state_class_init (MetaWaylandPendingStateClass *klass)
} }
static void static void
subsurface_surface_commit (MetaWaylandSurfaceRole *surface_role, subsurface_role_commit (MetaWaylandSurfaceRole *surface_role,
MetaWaylandPendingState *pending) MetaWaylandPendingState *pending)
{ {
MetaWaylandSurface *surface = MetaWaylandSurface *surface =
meta_wayland_surface_role_get_surface (surface_role); meta_wayland_surface_role_get_surface (surface_role);
@ -2055,7 +2055,7 @@ meta_wayland_surface_role_subsurface_class_init (MetaWaylandSurfaceRoleSubsurfac
MetaWaylandSurfaceRoleClass *surface_role_class = MetaWaylandSurfaceRoleClass *surface_role_class =
META_WAYLAND_SURFACE_ROLE_CLASS (klass); META_WAYLAND_SURFACE_ROLE_CLASS (klass);
surface_role_class->commit = subsurface_surface_commit; surface_role_class->commit = subsurface_role_commit;
} }
cairo_region_t * cairo_region_t *