[mutter] window-actor/wayland: Don't set set_surface_actor vfunc



commit 46248748a99322faca6799266ba3b6129e950c3d
Author: Jonas Ã…dahl <jadahl gmail com>
Date:   Thu Jun 27 19:30:25 2019 +0200

    window-actor/wayland: Don't set set_surface_actor vfunc
    
    It's implemented by the parent class anyway, so we don't need our empty
    call-parent implementation.
    
    https://gitlab.gnome.org/GNOME/mutter/merge_requests/659

 src/compositor/meta-window-actor-wayland.c | 11 -----------
 1 file changed, 11 deletions(-)
---
diff --git a/src/compositor/meta-window-actor-wayland.c b/src/compositor/meta-window-actor-wayland.c
index 7396f24eb..f50978e8f 100644
--- a/src/compositor/meta-window-actor-wayland.c
+++ b/src/compositor/meta-window-actor-wayland.c
@@ -38,16 +38,6 @@ meta_window_actor_wayland_frame_complete (MetaWindowActor  *actor,
 {
 }
 
-static void
-meta_window_actor_wayland_set_surface_actor (MetaWindowActor  *actor,
-                                             MetaSurfaceActor *surface)
-{
-  MetaWindowActorClass *parent_class =
-    META_WINDOW_ACTOR_CLASS (meta_window_actor_wayland_parent_class);
-
-  parent_class->set_surface_actor (actor, surface);
-}
-
 static void
 meta_window_actor_wayland_queue_frame_drawn (MetaWindowActor *actor,
                                              gboolean         skip_sync_delay)
@@ -75,7 +65,6 @@ meta_window_actor_wayland_class_init (MetaWindowActorWaylandClass *klass)
   MetaWindowActorClass *window_actor_class = META_WINDOW_ACTOR_CLASS (klass);
 
   window_actor_class->frame_complete = meta_window_actor_wayland_frame_complete;
-  window_actor_class->set_surface_actor = meta_window_actor_wayland_set_surface_actor;
   window_actor_class->queue_frame_drawn = meta_window_actor_wayland_queue_frame_drawn;
   window_actor_class->pre_paint = meta_window_actor_wayland_pre_paint;
   window_actor_class->post_paint = meta_window_actor_wayland_post_paint;


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