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:
Bilal Elmoussaoui
2024-10-12 12:26:43 +02:00
parent 40e7998669
commit d92893b6f3
7 changed files with 35 additions and 166 deletions

View File

@ -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
{

View File

@ -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);

View File

@ -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);

View File

@ -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);