summaryrefslogtreecommitdiff
path: root/daemon/errorgui.h
diff options
context:
space:
mode:
authorGeorge Lebl <jirka@5z.com>2002-05-21 22:03:14 +0000
committerGeorge Lebl <jirka@src.gnome.org>2002-05-21 22:03:14 +0000
commit7bef54089841c144df9212631765c44556859d56 (patch)
tree58d200c59f9d1195a07121b5179f4fa4cf98343a /daemon/errorgui.h
parent6e18a19bc159269541d9dc48318db765a0ae4ce4 (diff)
downloadgdm-7bef54089841c144df9212631765c44556859d56.tar.gz
check for setresuid
Tue May 21 15:12:51 2002 George Lebl <jirka@5z.com> * configure.in, accconfig.h: check for setresuid * daemon/errorgui.c, daemon/misc.[ch]: use setresuid to really get rid of setuidiness * gui/gdmlogin.c: fix accelerators. Since now we have nice visible accelerators (mnemonics) we no longer need the Esc one which wasn't working anyway * daemon/gdm.c, daemon/slave.c, gui/gdmphotosetup.c: Don't init gnome. This only breaks the getting of the gnome pixmap dir, so whack the places where this is done. It's not a big deal really. And not initting things really helps a lot in both init speed, random crashes, hangs, and security. * daemon/slave.c, daemon/errorgui.[ch], config/Xsession: Now we open the .xsession-errors file early on, in fact for all non-failsafe sessions. If the session is less then 10 seconds long warn the user of possible errors and let him view the .xsession-errors file. * daemon/slave.c, daemon/auth.c: give error output when we can't setup the authentication file. * daemon/slave.c, daemon/errorgui.c: fix focus issues, fix crash for the error gui boxes * daemon/verify-pam.c: fix typo
Diffstat (limited to 'daemon/errorgui.h')
-rw-r--r--daemon/errorgui.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/daemon/errorgui.h b/daemon/errorgui.h
index 1db8c17c..4daa8eaf 100644
--- a/daemon/errorgui.h
+++ b/daemon/errorgui.h
@@ -22,6 +22,12 @@
#include "gdm.h"
#include <gtk/gtkmessagedialog.h>
+void gdm_error_box_full (GdmDisplay *d,
+ GtkMessageType type,
+ const char *error,
+ const char *details_label,
+ const char *details_file);
+
void gdm_error_box (GdmDisplay *d,
GtkMessageType type,
const char *error);