Remove mentions of clutter_redraw()

This commit is contained in:
Emmanuele Bassi 2011-10-17 10:25:07 +01:00
parent 146e15297f
commit be4007ef53
3 changed files with 11 additions and 9 deletions

View File

@ -4832,23 +4832,25 @@ clutter_actor_class_init (ClutterActorClass *klass)
* The default implementation for #ClutterActor chains up to the * The default implementation for #ClutterActor chains up to the
* parent actor and queues a redraw on the parent, thus "bubbling" * parent actor and queues a redraw on the parent, thus "bubbling"
* the redraw queue up through the actor graph. The default * the redraw queue up through the actor graph. The default
* implementation for #ClutterStage queues a clutter_redraw() in a * implementation for #ClutterStage queues a clutter_stage_ensure_redraw()
* main loop idle handler. * in a main loop idle handler.
* *
* Note that the @origin actor may be the stage, or a container; it * Note that the @origin actor may be the stage, or a container; it
* does not have to be a leaf node in the actor graph. * does not have to be a leaf node in the actor graph.
* *
* Toolkits embedding a #ClutterStage which require a redraw and * Toolkits embedding a #ClutterStage which require a redraw and
* relayout cycle can stop the emission of this signal using the * relayout cycle can stop the emission of this signal using the
* GSignal API, redraw the UI and then call clutter_redraw() * GSignal API, redraw the UI and then call clutter_stage_ensure_redraw()
* themselves, like: * themselves, like:
* *
* |[ * |[
* static void * static void
* on_redraw_complete (void) * on_redraw_complete (gpointer data)
* { * {
* ClutterStage *stage = data;
*
* /* execute the Clutter drawing pipeline */ * /* execute the Clutter drawing pipeline */
* clutter_redraw (); * clutter_stage_ensure_redraw (stage);
* } * }
* *
* static void * static void
@ -4860,7 +4862,7 @@ clutter_actor_class_init (ClutterActorClass *klass)
* /* queue a redraw with the host toolkit and call * /* queue a redraw with the host toolkit and call
* * a function when the redraw has been completed * * a function when the redraw has been completed
* */ * */
* queue_a_redraw (G_CALLBACK (on_redraw_complete)); * queue_a_redraw (G_CALLBACK (on_redraw_complete), stage);
* } * }
* ]| * ]|
* *

View File

@ -3329,7 +3329,7 @@ clutter_threads_add_repaint_func (GSourceFunc func,
* Executes the repaint functions added using the * Executes the repaint functions added using the
* clutter_threads_add_repaint_func() function. * clutter_threads_add_repaint_func() function.
* *
* Must be called before calling clutter_redraw() and * Must be called before calling _clutter_stage_do_paint() and
* with the Clutter thread lock held. * with the Clutter thread lock held.
*/ */
void void

View File

@ -532,8 +532,8 @@ _clutter_master_clock_start_running (ClutterMasterClock *master_clock)
* @master_clock: a #ClutterMasterClock * @master_clock: a #ClutterMasterClock
* *
* Advances all the timelines held by the master clock. This function * Advances all the timelines held by the master clock. This function
* should be called before calling clutter_redraw() to make sure that * should be called before calling _clutter_stage_do_update() to
* all the timelines are advanced and the scene is updated. * make sure that all the timelines are advanced and the scene is updated.
*/ */
void void
_clutter_master_clock_advance (ClutterMasterClock *master_clock) _clutter_master_clock_advance (ClutterMasterClock *master_clock)