mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 17:40:40 -05:00
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:
parent
23b1b5f57e
commit
5e54f322ab
@ -527,8 +527,8 @@ meta_wayland_pending_state_class_init (MetaWaylandPendingStateClass *klass)
|
||||
}
|
||||
|
||||
static void
|
||||
subsurface_surface_commit (MetaWaylandSurfaceRole *surface_role,
|
||||
MetaWaylandPendingState *pending)
|
||||
subsurface_role_commit (MetaWaylandSurfaceRole *surface_role,
|
||||
MetaWaylandPendingState *pending)
|
||||
{
|
||||
MetaWaylandSurface *surface =
|
||||
meta_wayland_surface_role_get_surface (surface_role);
|
||||
@ -2055,7 +2055,7 @@ meta_wayland_surface_role_subsurface_class_init (MetaWaylandSurfaceRoleSubsurfac
|
||||
MetaWaylandSurfaceRoleClass *surface_role_class =
|
||||
META_WAYLAND_SURFACE_ROLE_CLASS (klass);
|
||||
|
||||
surface_role_class->commit = subsurface_surface_commit;
|
||||
surface_role_class->commit = subsurface_role_commit;
|
||||
}
|
||||
|
||||
cairo_region_t *
|
||||
|
Loading…
Reference in New Issue
Block a user