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 a1f7f2b48..35c16bacc 100644 --- a/libXt/src/Converters.c +++ b/libXt/src/Converters.c @@ -1608,6 +1608,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) @@ -1616,6 +1617,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; } |