summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index cf8abec..5f0806c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -97,9 +97,11 @@ main (int argc, char **argv)
GFile *css_file;
GtkCssProvider *provider;
+#ifdef ENABLE_NLS
bindtextdomain (GETTEXT_PACKAGE, EOM_LOCALE_DIR);
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);
+#endif /* ENABLE_NLS */
gdk_set_allowed_backends ("wayland,x11");