clutter/threads: Remove _full functions variant
As they are not used anywhere, in the next commit we will just remove the whole thing and use glib helpers directly as there is nothing specific about ClutterThread anymore Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4077>
This commit is contained in:
@ -151,9 +151,9 @@ meta_restart (const char *message,
|
||||
if (message && meta_display_show_restart_message (display, message))
|
||||
{
|
||||
/* Wait until the stage was painted */
|
||||
clutter_threads_add_repaint_func_full (CLUTTER_REPAINT_FLAGS_POST_PAINT,
|
||||
restart_message_painted,
|
||||
context, NULL);
|
||||
clutter_threads_add_repaint_func (CLUTTER_REPAINT_FLAGS_POST_PAINT,
|
||||
restart_message_painted,
|
||||
context, NULL);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -418,10 +418,10 @@ clutter_test_check_actor_at_point (ClutterActor *stage,
|
||||
|
||||
clutter_actor_show (stage);
|
||||
|
||||
clutter_threads_add_repaint_func_full (CLUTTER_REPAINT_FLAGS_POST_PAINT,
|
||||
validate_stage,
|
||||
data,
|
||||
NULL);
|
||||
clutter_threads_add_repaint_func (CLUTTER_REPAINT_FLAGS_POST_PAINT,
|
||||
validate_stage,
|
||||
data,
|
||||
NULL);
|
||||
|
||||
while (!data->was_painted)
|
||||
g_main_context_iteration (NULL, TRUE);
|
||||
|
@ -435,10 +435,10 @@ actor_offscreen_redirect (void)
|
||||
|
||||
clutter_actor_show (data.stage);
|
||||
|
||||
clutter_threads_add_repaint_func_full (CLUTTER_REPAINT_FLAGS_POST_PAINT,
|
||||
run_verify,
|
||||
&data,
|
||||
NULL);
|
||||
clutter_threads_add_repaint_func (CLUTTER_REPAINT_FLAGS_POST_PAINT,
|
||||
run_verify,
|
||||
&data,
|
||||
NULL);
|
||||
|
||||
while (!data.was_painted)
|
||||
g_main_context_iteration (NULL, FALSE);
|
||||
|
@ -215,10 +215,10 @@ texture_fbo (TestConformSimpleFixture *fixture,
|
||||
|
||||
clutter_actor_show (state.stage);
|
||||
|
||||
clutter_threads_add_repaint_func_full (CLUTTER_REPAINT_FLAGS_POST_PAINT,
|
||||
on_paint,
|
||||
&state,
|
||||
NULL);
|
||||
clutter_threads_add_repaint_func (CLUTTER_REPAINT_FLAGS_POST_PAINT,
|
||||
on_paint,
|
||||
&state,
|
||||
NULL);
|
||||
|
||||
while (!state.was_painted)
|
||||
g_main_context_iteration (NULL, FALSE);
|
||||
|
Reference in New Issue
Block a user