aboutsummaryrefslogtreecommitdiff
path: root/libXt/src/Converters.c
diff options
context:
space:
mode:
Diffstat (limited to 'libXt/src/Converters.c')
-rw-r--r--libXt/src/Converters.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libXt/src/Converters.c b/libXt/src/Converters.c
index 45777bda1..683d8ae29 100644
--- a/libXt/src/Converters.c
+++ b/libXt/src/Converters.c
@@ -1619,6 +1619,7 @@ Boolean XtCvtStringToRestartStyle(
"String to RestartStyle conversion needs no extra arguments",
(String *)NULL, (Cardinal *)NULL);
+#ifndef XT_NO_SM
if (CompareISOLatin1(str, "RestartIfRunning") == 0)
donestr(unsigned char, SmRestartIfRunning, XtRRestartStyle);
if (CompareISOLatin1(str, "RestartAnyway") == 0)
@@ -1627,6 +1628,7 @@ Boolean XtCvtStringToRestartStyle(
donestr(unsigned char, SmRestartImmediately, XtRRestartStyle);
if (CompareISOLatin1(str, "RestartNever") == 0)
donestr(unsigned char, SmRestartNever, XtRRestartStyle);
+#endif
XtDisplayStringConversionWarning(dpy, str, XtRRestartStyle);
return False;
}