Applied patch from bug #871
authorNeil Roberts <neil@openedhand.com>
Wed, 9 Apr 2008 09:33:32 +0000 (09:33 +0000)
committerNeil Roberts <neil@openedhand.com>
Wed, 9 Apr 2008 09:33:32 +0000 (09:33 +0000)
commitb4ab8b63a147b27cd1f7d68c16534d7a93322e42
treedce76a0740051afcff9da1f2145687a6f9ca5bff
parentf16833ea6db057c2fe28a7328c32da95d5aeef34
Applied patch from bug #871

* clutter/x11/clutter-backend-x11.c (clutter_backend_x11_dispose):
Call g_slist_foreach instead of iterating over the stage_manager
list manually when deleting stages. Otherwise the 'next' pointer
of the list node can get corrupted when the actor removes itself
from the list.

* clutter/clutter-stage.c (clutter_stage_dispose): Call
clutter_actor_unrealize in the dispose handler. This fixes
problems where the dispose handler for the ClutterStageWrapper
can't deselect the GL context until the stage is unrealized.
ChangeLog
clutter/clutter-stage.c
clutter/x11/clutter-backend-x11.c