diff options
author | rbuj <[email protected]> | 2021-01-25 19:46:32 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-02-05 21:36:53 +0100 |
commit | 8a653210e2ecf00c11bd8cdf44af2d8c4814fadf (patch) | |
tree | 78693278cad2311662a583f6a0b6565ec395a292 /src/main.c | |
parent | afd8f48f9b71f68953bc8e6bf4859031475aee0f (diff) | |
download | eom-8a653210e2ecf00c11bd8cdf44af2d8c4814fadf.tar.bz2 eom-8a653210e2ecf00c11bd8cdf44af2d8c4814fadf.tar.xz |
build: allow users to disable gettext support (--disable-nls)
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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"); |