Commit a3904bf5 authored by Ray Strode's avatar Ray Strode

manager: correct display confusion

commit c5c5bf1f reworked autologin and broke it.

This commit addresses the breakage by accessing
the proper display variable.

Closes #426
parent 9e532ea4
Pipeline #33346 passed with stage
in 8 minutes
......@@ -1689,8 +1689,8 @@ on_start_user_session (StartUserSessionOperation *operation)
gdm_display_store_remove (self->priv->display_store, display);
g_object_unref (display);
self->priv->automatic_login_display = g_object_get_data (G_OBJECT (operation->session), "gdm-display");
g_object_add_weak_pointer (G_OBJECT (display), (gpointer *) &self->priv->automatic_login_display);
self->priv->automatic_login_display = g_object_get_data (G_OBJECT (operation->session), "gdm-display");
g_object_add_weak_pointer (G_OBJECT (self->priv->automatic_login_display), (gpointer *) &self->priv->automatic_login_display);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment