Deprecate clutter_redraw()
It's just a badly named proxy to clutter_stage_ensure_redraw().
This commit is contained in:
parent
51ca20e81e
commit
33846dcf4d
@ -258,6 +258,8 @@ clutter_get_accessibility_enabled (void)
|
||||
*
|
||||
* This function should only be used by libraries integrating Clutter from
|
||||
* within another toolkit.
|
||||
*
|
||||
* Deprecated: 1.10: Use clutter_stage_ensure_redraw() instead.
|
||||
*/
|
||||
void
|
||||
clutter_redraw (ClutterStage *stage)
|
||||
@ -2299,7 +2301,7 @@ _clutter_process_event_details (ClutterActor *stage,
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* _clutter_process_event
|
||||
* @event: a #ClutterEvent.
|
||||
*
|
||||
|
@ -96,7 +96,10 @@ void clutter_main (void);
|
||||
void clutter_main_quit (void);
|
||||
gint clutter_main_level (void);
|
||||
|
||||
void clutter_redraw (ClutterStage *stage);
|
||||
#ifndef CLUTTER_DISABLE_DEPRECATED
|
||||
void clutter_redraw (ClutterStage *stage)
|
||||
G_GNUC_DEPRECATED_FOR (clutter_stage_ensure_redraw);
|
||||
#endif
|
||||
|
||||
void clutter_do_event (ClutterEvent *event);
|
||||
|
||||
|
@ -79,9 +79,10 @@ on_motion_idle (gpointer user_data)
|
||||
x + TEX_SIZE / 2 - 1,
|
||||
y + TEX_SIZE / 2 - 1);
|
||||
clutter_actor_show (data->box);
|
||||
|
||||
/* Redraw so that the layouting will be done and the box will be
|
||||
drawn in the right position */
|
||||
clutter_redraw (CLUTTER_STAGE (data->stage));
|
||||
clutter_stage_ensure_redraw (CLUTTER_STAGE (data->stage));
|
||||
|
||||
pixels = clutter_stage_read_pixels (CLUTTER_STAGE (data->stage),
|
||||
x, y,
|
||||
|
Loading…
Reference in New Issue
Block a user