[clutter] clutter-wayland-surface: Remove the pick method



commit 6cc58f7d7d01418eb61622afcb7e322a8645d5d6
Author: Neil Roberts <neil linux intel com>
Date:   Wed Jan 11 18:11:51 2012 +0000

    clutter-wayland-surface: Remove the pick method
    
    The pick method doesn't do anything special over the default pick
    method provided by ClutterActor so there's no need to implement it.
    
    Reviewed-by: Emmanuele Bassi <ebassi linux intel com>

 clutter/wayland/clutter-wayland-surface.c |   13 -------------
 1 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/clutter/wayland/clutter-wayland-surface.c b/clutter/wayland/clutter-wayland-surface.c
index 2dd82bc..f6234b5 100644
--- a/clutter/wayland/clutter-wayland-surface.c
+++ b/clutter/wayland/clutter-wayland-surface.c
@@ -335,18 +335,6 @@ clutter_wayland_surface_paint (ClutterActor *self)
 }
 
 static void
-clutter_wayland_surface_pick (ClutterActor *self,
-                              const ClutterColor *color)
-{
-  ClutterActorBox box;
-
-  cogl_set_source_color4ub (color->red, color->green, color->blue,
-                            color->alpha);
-  clutter_actor_get_allocation_box (self, &box);
-  cogl_rectangle (0, 0, box.x2 - box.x1, box.y2 - box.y1);
-}
-
-static void
 clutter_wayland_surface_get_preferred_width (ClutterActor *self,
                                              gfloat for_height,
                                              gfloat *min_width_p,
@@ -403,7 +391,6 @@ clutter_wayland_surface_class_init (ClutterWaylandSurfaceClass *klass)
 
   actor_class->get_paint_volume = clutter_wayland_surface_get_paint_volume;
   actor_class->paint = clutter_wayland_surface_paint;
-  actor_class->pick = clutter_wayland_surface_pick;
   actor_class->get_preferred_width =
     clutter_wayland_surface_get_preferred_width;
   actor_class->get_preferred_height =



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