diff options
author | George Lebl <jirka@5z.com> | 2001-06-05 03:44:29 +0000 |
---|---|---|
committer | George Lebl <jirka@src.gnome.org> | 2001-06-05 03:44:29 +0000 |
commit | ab1e11680746f99f8742f8277b22dbbcd12d584c (patch) | |
tree | 8fac158043e0d6af5245f82af372a185b8a29ed4 /daemon/xdmcp.h | |
parent | aa932186daf51118989ddb40d47bfed4d2390b41 (diff) | |
download | gdm-ab1e11680746f99f8742f8277b22dbbcd12d584c.tar.gz |
remove unused opcode (GDM_STOP)
Sun Jun 03 04:55:49 2001 George Lebl <jirka@5z.com>
* daemon/gdm.h: remove unused opcode (GDM_STOP)
* daemon/slave.c, gui/gdmlogin.c: On GDM_QUIT the login will make
sure to quickly quit and in the slave we no longer kill it to
avoid a possible race, also try to avoid other races todo with
killing things. Also fclose the greeter channel to avoid a leak.
* daemon/gdm.h, daemon/slave.c: get the size of the screen from
xinerama and center error dialog stuff.
Diffstat (limited to 'daemon/xdmcp.h')
-rw-r--r-- | daemon/xdmcp.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/daemon/xdmcp.h b/daemon/xdmcp.h index 97e78415..55165933 100644 --- a/daemon/xdmcp.h +++ b/daemon/xdmcp.h @@ -19,19 +19,24 @@ #ifndef GDM_XDMCP_H #define GDM_XDMCP_H +#ifdef HAVE_LIBXDMCP #include <glib.h> #include <X11/Xlib.h> #include <X11/Xmd.h> #include <X11/Xauth.h> #include <X11/Xdmcp.h> #include "gdm.h" +#endif /* HAVE_LIBXDMCP */ -int gdm_xdmcp_init (void); -void gdm_xdmcp_run (void); -void gdm_xdmcp_close (void); +/* Note that these are defined as empty stubs if there is no XDMCP support */ +gboolean gdm_xdmcp_init (void); +void gdm_xdmcp_run (void); +void gdm_xdmcp_close (void); +#ifdef HAVE_LIBXDMCP /* Fix broken X includes */ int XdmcpReallocARRAY8 (ARRAY8Ptr array, int length); +#endif /* HAVE_LIBXDMCP */ #endif /* GDM_XDMCP_H */ |