summaryrefslogtreecommitdiff
path: root/libdocument/ev-document.h
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-02-08 13:36:28 +0100
committerraveit65 <[email protected]>2021-02-10 23:58:25 +0100
commit66de6ed56647df275f2844eb6106349932991579 (patch)
tree56b68e1244af645727ece13032f2ba89fe6cb68f /libdocument/ev-document.h
parent6b159d0665c67c3c78c2968673e24bf45c2430d2 (diff)
downloadatril-66de6ed56647df275f2844eb6106349932991579.tar.bz2
atril-66de6ed56647df275f2844eb6106349932991579.tar.xz
build: allow users to disable gettext support (--disable-nls)
Diffstat (limited to 'libdocument/ev-document.h')
-rw-r--r--libdocument/ev-document.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/libdocument/ev-document.h b/libdocument/ev-document.h
index 7fb1bf2f..67f53abb 100644
--- a/libdocument/ev-document.h
+++ b/libdocument/ev-document.h
@@ -27,6 +27,9 @@
#ifndef EV_DOCUMENT_H
#define EV_DOCUMENT_H
+#include <config.h>
+#include <glib/gi18n-lib.h>
+
#include <glib-object.h>
#include <glib.h>
#include <gmodule.h>
@@ -277,10 +280,6 @@ register_atril_backend (GTypeModule *module) \
(GInstanceInitFunc) backend_name##_init \
}; \
\
- /* Initialise the i18n stuff */ \
- bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR); \
- bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); \
- \
g_define_type_id = g_type_module_register_type (module, \
EV_TYPE_DOCUMENT, \
#BackendName, \