summaryrefslogtreecommitdiff
path: root/daemon/verify-shadow.c
diff options
context:
space:
mode:
authorGeorge Lebl <jirka@5z.com>2002-05-12 06:29:55 +0000
committerGeorge Lebl <jirka@src.gnome.org>2002-05-12 06:29:55 +0000
commitae5b72ba98a07f5500974f63fa91916cc4bd538e (patch)
treef02041b00a8c9a15347f50c9eec9ee9095e6d89d /daemon/verify-shadow.c
parentbd91a2dce71893c9b745e532f6bb616d35f6ce3c (diff)
downloadgdm-ae5b72ba98a07f5500974f63fa91916cc4bd538e.tar.gz
Change the interruption stuff, to remove some races and the restart of
Sat May 11 23:38:02 2002 George Lebl <jirka@5z.com> * daemon/gdm.h, daemon/slave.[ch], daemon/verify-(pam|crypt|shadow).c, gui/gdmlogin.c, gui/greeter/greeter.c: Change the interruption stuff, to remove some races and the restart of greeters is done by return code * gui/gdmsetup.c, gui/gdmwm.[ch], gui/gdmlogin.c, gui/greeter/greeter.c: Add a property on the setup windows so that we can raise the setup windows after a restart of the greeter, this doesn't really work yet well. * gui/gdmsetup.c: add some more error checking and change the owenership/permissions correctly on installed themes
Diffstat (limited to 'daemon/verify-shadow.c')
-rw-r--r--daemon/verify-shadow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/daemon/verify-shadow.c b/daemon/verify-shadow.c
index 79e7c41b..84abb9bb 100644
--- a/daemon/verify-shadow.c
+++ b/daemon/verify-shadow.c
@@ -70,7 +70,7 @@ gdm_verify_user (GdmDisplay *d, const char *username, const gchar *display, gboo
gdm_slave_greeter_ctl_no_ret (GDM_MSG, _("Please enter your username"));
login = gdm_slave_greeter_ctl (GDM_LOGIN, _("Username:"));
if (login == NULL ||
- gdm_slave_greeter_check_interruption (login)) {
+ gdm_slave_greeter_check_interruption ()) {
if (local)
gdm_slave_greeter_ctl_no_ret (GDM_STOPTIMER, "");
g_free (login);
@@ -103,7 +103,7 @@ gdm_verify_user (GdmDisplay *d, const char *username, const gchar *display, gboo
passwd = gdm_slave_greeter_ctl (GDM_NOECHO, _("Password: "));
if (passwd == NULL)
passwd = g_strdup ("");
- if (gdm_slave_greeter_check_interruption (passwd)) {
+ if (gdm_slave_greeter_check_interruption ()) {
if (local)
gdm_slave_greeter_ctl_no_ret (GDM_STOPTIMER, "");
g_free (login);