diff --git a/js/misc/systemActions.js b/js/misc/systemActions.js index db08b5468..99c9173be 100644 --- a/js/misc/systemActions.js +++ b/js/misc/systemActions.js @@ -430,7 +430,7 @@ const SystemActions = GObject.registerClass({ if (Main.screenShield) Main.screenShield.lock(false); - Clutter.threads_add_repaint_func_full(Clutter.RepaintFlags.POST_PAINT, () => { + Clutter.threads_add_repaint_func(Clutter.RepaintFlags.POST_PAINT, () => { Gdm.goto_login_session_sync(null); return false; }); diff --git a/src/shell-global.c b/src/shell-global.c index 7e6f7d525..617f4e3d1 100644 --- a/src/shell-global.c +++ b/src/shell-global.c @@ -1008,16 +1008,16 @@ _shell_global_set_plugin (ShellGlobal *global, g_signal_connect (global->stage, "notify::height", G_CALLBACK (global_stage_notify_height), global); - clutter_threads_add_repaint_func_full (CLUTTER_REPAINT_FLAGS_PRE_PAINT, - global_stage_before_paint, - global, NULL); + clutter_threads_add_repaint_func (CLUTTER_REPAINT_FLAGS_PRE_PAINT, + global_stage_before_paint, + global, NULL); g_signal_connect (global->stage, "after-paint", G_CALLBACK (global_stage_after_paint), global); - clutter_threads_add_repaint_func_full (CLUTTER_REPAINT_FLAGS_POST_PAINT, - global_stage_after_swap, - global, NULL); + clutter_threads_add_repaint_func (CLUTTER_REPAINT_FLAGS_POST_PAINT, + global_stage_after_swap, + global, NULL); shell_perf_log_define_event (shell_perf_log_get_default(), "clutter.stagePaintStart",