diff options
Diffstat (limited to 'daemon/gdm-factory-slave.c')
-rw-r--r-- | daemon/gdm-factory-slave.c | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/daemon/gdm-factory-slave.c b/daemon/gdm-factory-slave.c index fb26010b..13ff1b36 100644 --- a/daemon/gdm-factory-slave.c +++ b/daemon/gdm-factory-slave.c @@ -518,13 +518,22 @@ on_session_relay_session_started (GdmSessionRelay *relay, static void on_greeter_begin_verification (GdmGreeterServer *greeter_server, - const char *username, GdmFactorySlave *slave) { g_debug ("begin verification"); - gdm_session_relay_begin_verification (slave->priv->session_relay, - username); + gdm_session_relay_begin_verification (slave->priv->session_relay); +} + +static void +on_greeter_begin_verification_for_user (GdmGreeterServer *greeter_server, + const char *username, + GdmFactorySlave *slave) +{ + g_debug ("begin verification for user"); + + gdm_session_relay_begin_verification_for_user (slave->priv->session_relay, + username); } static void @@ -636,6 +645,10 @@ run_greeter (GdmFactorySlave *slave) G_CALLBACK (on_greeter_begin_verification), slave); g_signal_connect (slave->priv->greeter_server, + "begin-verification-for-user", + G_CALLBACK (on_greeter_begin_verification_for_user), + slave); + g_signal_connect (slave->priv->greeter_server, "query-answer", G_CALLBACK (on_greeter_answer), slave); |