diff options
author | rbuj <[email protected]> | 2021-02-18 10:59:50 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-02-24 16:05:39 +0100 |
commit | d105267f775b4371a670f016c9fbce7e81b2632a (patch) | |
tree | d3085f4d43d7fdcb41d80636404ac15720388ce3 /mate-session/main.c | |
parent | 036594c5542272f719994a62a4663fce998e26f2 (diff) | |
download | mate-session-manager-d105267f775b4371a670f016c9fbce7e81b2632a.tar.bz2 mate-session-manager-d105267f775b4371a670f016c9fbce7e81b2632a.tar.xz |
build: allow users to disable gettext support (--disable-nls)
Diffstat (limited to 'mate-session/main.c')
-rw-r--r-- | mate-session/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mate-session/main.c b/mate-session/main.c index 56795ac..25fe52d 100644 --- a/mate-session/main.c +++ b/mate-session/main.c @@ -21,7 +21,6 @@ #include <config.h> -#include <libintl.h> #include <signal.h> #include <stdlib.h> #include <string.h> @@ -622,9 +621,11 @@ int main(int argc, char** argv) gsm_util_init_error(TRUE, "%s", error->message); } +#ifdef ENABLE_NLS bindtextdomain(GETTEXT_PACKAGE, LOCALE_DIR); bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8"); textdomain(GETTEXT_PACKAGE); +#endif /* ENABLE_NLS */ sa.sa_handler = SIG_IGN; sa.sa_flags = 0; |