2007-07-06 Matthew Allum <mallum@openedhand.com>

* clutter/clutter-box.c: (clutter_box_pick):
        Call clutter_box_paint rather than actor paint method avoiding
        infinte loop (Fixes test-boxes crasher).

        * clutter/glx/clutter-stage-glx.c: (clutter_stage_glx_unrealize):
        Trap the X calls to avoid potential X errors.
This commit is contained in:
Matthew Allum
2007-07-06 09:22:43 +00:00
parent f586f2e5cb
commit 7ea9e2bcbb
3 changed files with 15 additions and 1 deletions

View File

@ -165,7 +165,7 @@ clutter_box_pick (ClutterActor *actor,
const ClutterColor *color)
{
/* just repaint; in the future we might enter in a "focused" status here */
clutter_actor_paint (actor);
clutter_box_paint (actor);
}
static void