launcher: Move activate_session abstraction into the launcher code
login1 has a separate ActivateSession request, so put it here so that we don't have to modify any backend code.
This commit is contained in:
@ -221,7 +221,7 @@ meta_activate_session (void)
|
||||
MetaBackendNative *native = META_BACKEND_NATIVE (backend);
|
||||
MetaBackendNativePrivate *priv = meta_backend_native_get_instance_private (native);
|
||||
|
||||
if (!meta_launcher_activate_vt (priv->launcher, -1, &error))
|
||||
if (!meta_launcher_activate_session (priv->launcher, &error))
|
||||
{
|
||||
g_warning ("Could not activate session: %s\n", error->message);
|
||||
g_error_free (error);
|
||||
|
Reference in New Issue
Block a user