summaryrefslogtreecommitdiff
path: root/capplet/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'capplet/main.c')
-rw-r--r--capplet/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/capplet/main.c b/capplet/main.c
index 30c2ac6..10f82e7 100644
--- a/capplet/main.c
+++ b/capplet/main.c
@@ -68,9 +68,11 @@ int main(int argc, char* argv[])
GError* error;
GtkWidget* dialog;
+#ifdef ENABLE_NLS
bindtextdomain(GETTEXT_PACKAGE, LOCALE_DIR);
bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
textdomain(GETTEXT_PACKAGE);
+#endif /* ENABLE_NLS */
error = NULL;