summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorGeorge Lebl <jirka@5z.com>2004-05-27 00:35:00 +0000
committerGeorge Lebl <jirka@src.gnome.org>2004-05-27 00:35:00 +0000
commit883d9163c7dee217368dba102ee9e0d4ac2e669a (patch)
tree08c9560edba9b2f53e76f16f15e0266c2f1b949f /utils
parent7727d7fba8904ad588d5d8bd215ef94c02d8b960 (diff)
downloadgdm-883d9163c7dee217368dba102ee9e0d4ac2e669a.tar.gz
Ensure proper .ICEauthority permissions, this may fail on NFS, but who
Wed May 26 17:34:51 2004 George Lebl <jirka@5z.com> * daemon/slave.c: Ensure proper .ICEauthority permissions, this may fail on NFS, but who cares, there if it breaks it's beyond our fixage anyway. Should alievate problems from #137345, though that bug is really in libice usage and gnome-session. libice is incredibly evil. * utils/gdmtranslate.c: fix with the forte compiler, patch fromn Brian Cameron, fixes #137600
Diffstat (limited to 'utils')
-rw-r--r--utils/gdmtranslate.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/utils/gdmtranslate.c b/utils/gdmtranslate.c
index 2178a871..da8aabb9 100644
--- a/utils/gdmtranslate.c
+++ b/utils/gdmtranslate.c
@@ -1,9 +1,19 @@
#include "config.h"
-#include <libgnome/libgnome.h>
#include <stdio.h>
#include <locale.h>
#include <string.h>
+#define gboolean char
+#define FALSE 0
+#define TRUE 1
+
+#ifdef ENABLE_NLS
+#include <libintl.h>
+#define _(String) gettext(String)
+#else /* !ENABLE_NLS */
+#define _(String) (String)
+#endif
+
int
main (int argc, char *argv[])
{