[mutter] window-actor: Always chain up to parent's dispose vfunc



commit a8f8bc563e892ffc4433a4940bf0fe304e41856c
Author: Jonas Ã…dahl <jadahl gmail com>
Date:   Thu Jun 27 19:31:19 2019 +0200

    window-actor: Always chain up to parent's dispose vfunc
    
    Our early out shouldn't mean we early out from the parents dispose
    function.
    
    https://gitlab.gnome.org/GNOME/mutter/merge_requests/659

 src/compositor/meta-window-actor.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/src/compositor/meta-window-actor.c b/src/compositor/meta-window-actor.c
index c86d554bc..c3879cef9 100644
--- a/src/compositor/meta-window-actor.c
+++ b/src/compositor/meta-window-actor.c
@@ -457,7 +457,10 @@ meta_window_actor_dispose (GObject *object)
   MetaCompositor *compositor = priv->compositor;
 
   if (priv->disposed)
-    return;
+    {
+      G_OBJECT_CLASS (meta_window_actor_parent_class)->dispose (object);
+      return;
+    }
 
   priv->disposed = TRUE;
 


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