summaryrefslogtreecommitdiff
path: root/capplet/gsm-app-dialog.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-02-18 10:59:50 +0100
committerraveit65 <[email protected]>2021-02-24 16:05:39 +0100
commitd105267f775b4371a670f016c9fbce7e81b2632a (patch)
treed3085f4d43d7fdcb41d80636404ac15720388ce3 /capplet/gsm-app-dialog.c
parent036594c5542272f719994a62a4663fce998e26f2 (diff)
downloadmate-session-manager-d105267f775b4371a670f016c9fbce7e81b2632a.tar.bz2
mate-session-manager-d105267f775b4371a670f016c9fbce7e81b2632a.tar.xz
build: allow users to disable gettext support (--disable-nls)
Diffstat (limited to 'capplet/gsm-app-dialog.c')
-rw-r--r--capplet/gsm-app-dialog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/capplet/gsm-app-dialog.c b/capplet/gsm-app-dialog.c
index 9759bac..831e800 100644
--- a/capplet/gsm-app-dialog.c
+++ b/capplet/gsm-app-dialog.c
@@ -185,7 +185,9 @@ setup_dialog (GsmAppDialog *dialog)
GError *error;
xml = gtk_builder_new ();
+#ifdef ENABLE_NLS
gtk_builder_set_translation_domain (xml, GETTEXT_PACKAGE);
+#endif /* ENABLE_NLS */
error = NULL;
if (!gtk_builder_add_from_file (xml,