[mutter] wayland: Use correct GObject parent in subsurface role object



commit 4cf14c41effb26b5cf777c60599fd6fef3d6d3d2
Author: Jonas Ådahl <jadahl gmail com>
Date:   Fri Aug 19 15:12:09 2016 +0800

    wayland: Use correct GObject parent in subsurface role object
    
    The parent of MetaWaylandSurfaceRoleSubsurface is
    MetaWaylandSurfaceRoleActorSurface thus use that as the GObject parent.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=770131

 src/wayland/meta-wayland-surface.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c
index 1819d36..54cdcc9 100644
--- a/src/wayland/meta-wayland-surface.c
+++ b/src/wayland/meta-wayland-surface.c
@@ -109,7 +109,7 @@ G_DEFINE_TYPE (MetaWaylandPendingState,
 
 struct _MetaWaylandSurfaceRoleSubsurface
 {
-  MetaWaylandSurfaceRole parent;
+  MetaWaylandSurfaceRoleActorSurface parent;
 };
 
 G_DEFINE_TYPE (MetaWaylandSurfaceRoleSubsurface,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]