[maemo-commits] [maemo-commits] r18061 - in projects/haf/trunk/clutter0.8: clutter debian
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Tue Apr 14 16:53:25 EEST 2009
- Previous message: [maemo-commits] r18060 - projects/haf/trunk/maemo-launcher/debian
- Next message: [maemo-commits] r18062 - in projects/haf/trunk/libmatchbox2: . matchbox/comp-mgr
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: gw Date: 2009-04-14 16:53:24 +0300 (Tue, 14 Apr 2009) New Revision: 18061 Modified: projects/haf/trunk/clutter0.8/clutter/clutter-stage.c projects/haf/trunk/clutter0.8/debian/changelog Log: * Add check for whether stage is in destruction, and if so, don't queue redraws. Fixes: NB#110878 Modified: projects/haf/trunk/clutter0.8/clutter/clutter-stage.c =================================================================== --- projects/haf/trunk/clutter0.8/clutter/clutter-stage.c 2009-04-14 13:45:40 UTC (rev 18060) +++ projects/haf/trunk/clutter0.8/clutter/clutter-stage.c 2009-04-14 13:53:24 UTC (rev 18061) @@ -1955,6 +1955,10 @@ { g_return_if_fail (CLUTTER_IS_STAGE (stage)); + /* If we're being destroyed, don't queue a redraw */ + if (CLUTTER_PRIVATE_FLAGS (stage) & CLUTTER_ACTOR_IN_DESTRUCTION) + return; + /* Set our damaged area to cover everything */ clutter_actor_get_geometry(CLUTTER_ACTOR(stage), &stage->priv->damaged_area); @@ -1973,7 +1977,7 @@ } /** - * clutter_stage_queue_redraw: + * clutter_stage_queue_redraw_damage: * @stage: the #ClutterStage * * Queues a redraw for the passed stage. Modified: projects/haf/trunk/clutter0.8/debian/changelog =================================================================== --- projects/haf/trunk/clutter0.8/debian/changelog 2009-04-14 13:45:40 UTC (rev 18060) +++ projects/haf/trunk/clutter0.8/debian/changelog 2009-04-14 13:53:24 UTC (rev 18061) @@ -1,6 +1,8 @@ clutter (0.8.2-0maemo26~unreleased) unstable; urgency=low * Disable compilation of Glib debug messages. + * Add check for whether stage is in destruction, and if so, don't queue + redraws. Fixes: NB#110878 -- Gordon Williams <gordon.williams at collabora.co.uk> Fri, 27 Mar 2009 15:16:36 +0200
- Previous message: [maemo-commits] r18060 - projects/haf/trunk/maemo-launcher/debian
- Next message: [maemo-commits] r18062 - in projects/haf/trunk/libmatchbox2: . matchbox/comp-mgr
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]