diff options
Diffstat (limited to 'libXt/src/Converters.c')
-rw-r--r-- | libXt/src/Converters.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libXt/src/Converters.c b/libXt/src/Converters.c index 76498028f..6be3ba61d 100644 --- a/libXt/src/Converters.c +++ b/libXt/src/Converters.c @@ -1616,6 +1616,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) @@ -1624,6 +1625,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; } |