Adapt to renamed Clutter threading functions
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3501>
This commit is contained in:
parent
bab37d3286
commit
715b47bddc
@ -430,7 +430,7 @@ const SystemActions = GObject.registerClass({
|
|||||||
if (Main.screenShield)
|
if (Main.screenShield)
|
||||||
Main.screenShield.lock(false);
|
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);
|
Gdm.goto_login_session_sync(null);
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
@ -1008,16 +1008,16 @@ _shell_global_set_plugin (ShellGlobal *global,
|
|||||||
g_signal_connect (global->stage, "notify::height",
|
g_signal_connect (global->stage, "notify::height",
|
||||||
G_CALLBACK (global_stage_notify_height), global);
|
G_CALLBACK (global_stage_notify_height), global);
|
||||||
|
|
||||||
clutter_threads_add_repaint_func_full (CLUTTER_REPAINT_FLAGS_PRE_PAINT,
|
clutter_threads_add_repaint_func (CLUTTER_REPAINT_FLAGS_PRE_PAINT,
|
||||||
global_stage_before_paint,
|
global_stage_before_paint,
|
||||||
global, NULL);
|
global, NULL);
|
||||||
|
|
||||||
g_signal_connect (global->stage, "after-paint",
|
g_signal_connect (global->stage, "after-paint",
|
||||||
G_CALLBACK (global_stage_after_paint), global);
|
G_CALLBACK (global_stage_after_paint), global);
|
||||||
|
|
||||||
clutter_threads_add_repaint_func_full (CLUTTER_REPAINT_FLAGS_POST_PAINT,
|
clutter_threads_add_repaint_func (CLUTTER_REPAINT_FLAGS_POST_PAINT,
|
||||||
global_stage_after_swap,
|
global_stage_after_swap,
|
||||||
global, NULL);
|
global, NULL);
|
||||||
|
|
||||||
shell_perf_log_define_event (shell_perf_log_get_default(),
|
shell_perf_log_define_event (shell_perf_log_get_default(),
|
||||||
"clutter.stagePaintStart",
|
"clutter.stagePaintStart",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user