Commit 7a33fa68 authored by Jasper St. Pierre's avatar Jasper St. Pierre

shaped-texture: Clean up code flow a bit

This is easier for me to read.
parent 67560db7
...@@ -602,18 +602,17 @@ meta_shaped_texture_update_area (MetaShapedTexture *stex, ...@@ -602,18 +602,17 @@ meta_shaped_texture_update_area (MetaShapedTexture *stex,
cairo_region_get_extents (intersection, &damage_rect); cairo_region_get_extents (intersection, &damage_rect);
clutter_actor_queue_redraw_with_clip (CLUTTER_ACTOR (stex), &damage_rect); clutter_actor_queue_redraw_with_clip (CLUTTER_ACTOR (stex), &damage_rect);
cairo_region_destroy (intersection); cairo_region_destroy (intersection);
return TRUE; return TRUE;
} }
cairo_region_destroy (intersection); cairo_region_destroy (intersection);
return FALSE; return FALSE;
} }
clutter_actor_queue_redraw_with_clip (CLUTTER_ACTOR (stex), &clip); {
clutter_actor_queue_redraw_with_clip (CLUTTER_ACTOR (stex), &clip);
return TRUE; return TRUE;
} }
static void static void
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment