
The 'onPrimary' argument was being passed to dialog.open(). Turns out, neither UnlockDialog nor LoginDialog use this parameter. Remove the unnecessary 'onPrimary' parameter, and cleanup the related code. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/872