summaryrefslogtreecommitdiff
path: root/src/caja-autorun-software.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-01-23 13:52:08 +0100
committerraveit65 <[email protected]>2021-02-07 21:38:35 +0100
commit6de5a2680760436fe15ee16ed530f23ef1ced33a (patch)
treebe4c64c279750dab39534f9963ef228c3246fd24 /src/caja-autorun-software.c
parentcb9ed81342334d3ef5dde43a60ab0325930a2874 (diff)
downloadcaja-6de5a2680760436fe15ee16ed530f23ef1ced33a.tar.bz2
caja-6de5a2680760436fe15ee16ed530f23ef1ced33a.tar.xz
build: allow users to disable gettext support (--disable-nls)
Diffstat (limited to 'src/caja-autorun-software.c')
-rw-r--r--src/caja-autorun-software.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/caja-autorun-software.c b/src/caja-autorun-software.c
index c389144e..fef3c483 100644
--- a/src/caja-autorun-software.c
+++ b/src/caja-autorun-software.c
@@ -273,9 +273,11 @@ main (int argc, char *argv[])
GFile *file;
GMount *mount;
+#ifdef ENABLE_NLS
bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR);
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);
+#endif /* ENABLE_NLS */
gtk_init (&argc, &argv);