Remove all internal use of deprecated cogl_clip_* API

cogl_clip_push, and cogl_clip_push_window_rect which are now deprecated were
used in various places internally so this just switches to using the
replacement functions.
This commit is contained in:
Robert Bragg
2009-11-05 16:50:24 +00:00
parent c1d9e09d38
commit abae6013e1
5 changed files with 19 additions and 17 deletions

View File

@ -1610,9 +1610,9 @@ clutter_text_paint (ClutterActor *self)
pango_layout_get_extents (layout, NULL, &logical_rect);
cogl_clip_push (0, 0,
(alloc.x2 - alloc.x1),
(alloc.y2 - alloc.y1));
cogl_clip_push_rectangle (0, 0,
(alloc.x2 - alloc.x1),
(alloc.y2 - alloc.y1));
clip_set = TRUE;
actor_width = (alloc.x2 - alloc.x1)