shell/global: Make switcheroo-control available from JS

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1226
This commit is contained in:
Bastien Nocera
2020-04-28 17:25:18 +02:00
committed by Florian Müllner
parent 49605c7b00
commit 9d7832ea44
3 changed files with 4 additions and 4 deletions

View File

@@ -1289,7 +1289,7 @@ apply_discrete_gpu_env (GAppLaunchContext *context,
GVariant* variant;
guint num_children, i;
proxy = _shell_global_get_switcheroo_control (global);
proxy = shell_global_get_switcheroo_control (global);
if (!proxy)
{
g_warning ("Could not apply discrete GPU environment, switcheroo-control not available");