[mutter] wayland: Rename subsurface commit role function
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] wayland: Rename subsurface commit role function
- Date: Tue, 3 May 2016 02:17:20 +0000 (UTC)
commit 5e54f322ab54a06b004eb9133b6c2731c8c14995
Author: Jonas Ådahl <jadahl gmail com>
Date: Fri Mar 4 12:13:18 2016 +0800
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
src/wayland/meta-wayland-surface.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c
index 5d1035a..d3580a0 100644
--- a/src/wayland/meta-wayland-surface.c
+++ b/src/wayland/meta-wayland-surface.c
@@ -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 *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]