diff --git a/clutter/clutter/clutter-actor.c b/clutter/clutter/clutter-actor.c index c314c49a8..862fbe895 100644 --- a/clutter/clutter/clutter-actor.c +++ b/clutter/clutter/clutter-actor.c @@ -3372,7 +3372,6 @@ _clutter_actor_paint_cull_result (ClutterActor *self, case CLUTTER_CULL_RESULT_OUT: clutter_color_init (&color, 0, 0, 255, 255); break; - case CLUTTER_CULL_RESULT_PARTIAL: default: clutter_color_init (&color, 0, 255, 255, 255); break; @@ -3503,10 +3502,8 @@ cull_actor (ClutterActor *self, switch (overlap) { case CAIRO_REGION_OVERLAP_IN: - *result_out = CLUTTER_CULL_RESULT_IN; - break; case CAIRO_REGION_OVERLAP_PART: - *result_out = CLUTTER_CULL_RESULT_PARTIAL; + *result_out = CLUTTER_CULL_RESULT_IN; break; case CAIRO_REGION_OVERLAP_OUT: *result_out = CLUTTER_CULL_RESULT_OUT; diff --git a/clutter/clutter/clutter-private.h b/clutter/clutter/clutter-private.h index 8d85a61c0..cc310edb2 100644 --- a/clutter/clutter/clutter-private.h +++ b/clutter/clutter/clutter-private.h @@ -250,7 +250,6 @@ typedef enum _ClutterCullResult CLUTTER_CULL_RESULT_UNKNOWN, CLUTTER_CULL_RESULT_IN, CLUTTER_CULL_RESULT_OUT, - CLUTTER_CULL_RESULT_PARTIAL } ClutterCullResult; gboolean _clutter_has_progress_function (GType gtype);