diff options
author | George Lebl <jirka@5z.com> | 2001-12-28 00:15:05 +0000 |
---|---|---|
committer | George Lebl <jirka@src.gnome.org> | 2001-12-28 00:15:05 +0000 |
commit | a474faf10fcae4dd0183c992d5df8d00bd71588a (patch) | |
tree | a224b298de9013c86aec0b0cd71bb4b990583fe7 /daemon/verify-crypt.c | |
parent | d875ba070c9cd26b35bec080f04675020d24ac95 (diff) | |
download | gdm-a474faf10fcae4dd0183c992d5df8d00bd71588a.tar.gz |
don't link libgnomeui and libglade to the daemon any more
Thu Dec 27 16:43:21 2001 George Lebl <jirka@5z.com>
* configure.in: don't link libgnomeui and libglade to the
daemon any more
* daemon/errorgui.[ch], daemon/gdm.c, daemon/slave.c,
daemon/verify-*.c: Whack the exec hack for failsafe dialogs,
we now yet again do this all just by fork and gtk_init. This
seems to work and is truly failsafe
* daemon/gdm-net.c: fix hanging caused by some new crack in
giochannel, we just do a libc 'read' and that works
* daemon/server.c, daemon/gdm.[ch]: again some new crack in glib's
mainloop was causing g_main_loop_quit to not work right if called
from a signal handler (sometimes). So I just switched to using
a simple select call and a dummy pipe.
* daemon/Makefile.am, daemon/auth.c, daemon/errorgui.c,
daemon/gdm-net.c, daemon/gdm.c, daemon/server.c, daemon/slave.c,
daemon/verify-crypt.c, daemon/verify-pam.c, daemon/verify-shadow.c,
daemon/xdmcp.c: Compile without any deprecated stuff from glib up
Diffstat (limited to 'daemon/verify-crypt.c')
-rw-r--r-- | daemon/verify-crypt.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/daemon/verify-crypt.c b/daemon/verify-crypt.c index 14a4267a..f549249b 100644 --- a/daemon/verify-crypt.c +++ b/daemon/verify-crypt.c @@ -18,10 +18,12 @@ #include <config.h> #include <libgnome/libgnome.h> +#include <gtk/gtkmessagedialog.h> #include <syslog.h> #include <pwd.h> #include <grp.h> #include <sys/types.h> +#include <unistd.h> #ifdef HAVE_CRYPT # include <crypt.h> @@ -218,7 +220,7 @@ gdm_verify_setup_user (GdmDisplay *d, if ( ! gdm_setup_gids (login, pwent->pw_gid)) { gdm_error (_("Cannot set user group for %s"), login); gdm_error_box (d, - GNOME_MESSAGE_BOX_ERROR, + GTK_MESSAGE_ERROR, _("\nCannot set your user group, " "you will not be able to log in, " "please contact your system administrator.")); |