[mutter/wip/carlosg/performance-improvements: 18/23] compositor: Remove MetaSurfaceActorWayland::painting signal



commit 39fe4b2bcdc60ad20baf69a1c2428fb34c8d9f0e
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sat May 6 23:31:56 2017 +0200

    compositor: Remove MetaSurfaceActorWayland::painting signal
    
    It's now unused.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=782344

 src/compositor/meta-surface-actor-wayland.c |   17 -----------------
 1 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/src/compositor/meta-surface-actor-wayland.c b/src/compositor/meta-surface-actor-wayland.c
index 0dfc427..5513225 100644
--- a/src/compositor/meta-surface-actor-wayland.c
+++ b/src/compositor/meta-surface-actor-wayland.c
@@ -38,14 +38,6 @@
 #include "backends/meta-backend-private.h"
 #include "compositor/region-utils.h"
 
-enum {
-  PAINTING,
-
-  LAST_SIGNAL
-};
-
-static guint signals[LAST_SIGNAL];
-
 struct _MetaSurfaceActorWaylandPrivate
 {
   MetaWaylandSurface *surface;
@@ -398,8 +390,6 @@ meta_surface_actor_wayland_paint (ClutterActor *actor)
       wl_list_init (&priv->frame_callback_list);
     }
 
-  g_signal_emit (actor, signals[PAINTING], 0);
-
   CLUTTER_ACTOR_CLASS (meta_surface_actor_wayland_parent_class)->paint (actor);
 }
 
@@ -449,13 +439,6 @@ meta_surface_actor_wayland_class_init (MetaSurfaceActorWaylandClass *klass)
   surface_actor_class->get_window = meta_surface_actor_wayland_get_window;
 
   object_class->dispose = meta_surface_actor_wayland_dispose;
-
-  signals[PAINTING] = g_signal_new ("painting",
-                                    G_TYPE_FROM_CLASS (object_class),
-                                    G_SIGNAL_RUN_LAST,
-                                    0,
-                                    NULL, NULL, NULL,
-                                    G_TYPE_NONE, 0);
 }
 
 static void


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