diff options
author | rbuj <[email protected]> | 2021-02-08 13:36:28 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-02-10 23:58:25 +0100 |
commit | 66de6ed56647df275f2844eb6106349932991579 (patch) | |
tree | 56b68e1244af645727ece13032f2ba89fe6cb68f /libdocument/ev-init.c | |
parent | 6b159d0665c67c3c78c2968673e24bf45c2430d2 (diff) | |
download | atril-66de6ed56647df275f2844eb6106349932991579.tar.bz2 atril-66de6ed56647df275f2844eb6106349932991579.tar.xz |
build: allow users to disable gettext support (--disable-nls)
Diffstat (limited to 'libdocument/ev-init.c')
-rw-r--r-- | libdocument/ev-init.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/libdocument/ev-init.c b/libdocument/ev-init.c index 15cb555e..21aca668 100644 --- a/libdocument/ev-init.c +++ b/libdocument/ev-init.c @@ -38,8 +38,7 @@ ev_get_locale_dir (void) /** * ev_init: * - * Initializes the atril document library, and binds the atril - * gettext domain. + * Initializes the atril document library. * * You must call this before calling any other function in the atril * document library. @@ -54,10 +53,6 @@ ev_init (void) if (ev_init_count++ > 0) return have_backends; - /* set up translation catalog */ - bindtextdomain (GETTEXT_PACKAGE, ev_get_locale_dir ()); - bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); - _ev_debug_init (); _ev_file_helpers_init (); have_backends = _ev_backends_manager_init (); |