summaryrefslogtreecommitdiff
path: root/tools/mate-session-save.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/mate-session-save.c')
-rw-r--r--tools/mate-session-save.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/mate-session-save.c b/tools/mate-session-save.c
index 31e302c..3b76373 100644
--- a/tools/mate-session-save.c
+++ b/tools/mate-session-save.c
@@ -206,9 +206,11 @@ int main(int argc, char* argv[])
int conflicting_options;
/* Initialize the i18n stuff */
+#ifdef ENABLE_NLS
bindtextdomain(GETTEXT_PACKAGE, LOCALE_DIR);
bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
textdomain(GETTEXT_PACKAGE);
+#endif /* ENABLE_NLS */
error = NULL;