SetFrz.c 690 B

1234567891011121314151617181920212223242526272829303132
  1. /* Copyright Massachusetts Institute of Technology 1985 */
  2. #include "copyright.h"
  3. /*
  4. * XMenu: MIT Project Athena, X Window system menu package
  5. *
  6. * XMenuSetFreeze - Forcibly set the menu freeze mode switch
  7. * overriding the Xdefaults setting.
  8. * This is necessary in some situations.
  9. *
  10. * Author: Tony Della Fera, DEC
  11. * January 29, 1986
  12. *
  13. */
  14. #include "XMenuInt.h"
  15. XMenuSetFreeze(menu, freeze)
  16. register XMenu *menu; /* Menu object to be modified. */
  17. register int freeze; /* Freeze mode? */
  18. {
  19. /*
  20. * Set the freeze mode switch.
  21. */
  22. menu->freeze = freeze;
  23. }
  24. /* arch-tag: 69c5670b-3a46-4c78-8fdb-305936d79772
  25. (do not change this comment) */