# HG changeset patch # User Paul Reilly # Date 781099621 0 # Node ID fc3f748ccf9e36700f495ddb66395d43e547ceb5 # Parent 9e28a8ef9cad98c90a312f9e6888a394dd248d1c (lw_set_main_areas): Use xm_set_main_areas(). (lw_manage_resizing): Use xm_manage_resizing() for Emacs/Motif. diff -r 9e28a8ef9cad -r fc3f748ccf9e lwlib/lwlib.c --- a/lwlib/lwlib.c Sun Oct 02 11:55:07 1994 +0000 +++ b/lwlib/lwlib.c Sun Oct 02 12:07:01 1994 +0000 @@ -1352,21 +1352,6 @@ Boolean flag; { #if defined (USE_MOTIF) - if (flag) - { - /* Enable the edit widget for resizing. */ - Arg al[1]; - - XtSetArg (al[0], XtNallowShellResize, 0); - XtSetValues (w, al, 1); - } - else - { - /* Disable the edit widget from resizing. */ - Arg al[1]; - - XtSetArg (al[0], XtNallowShellResize, 0); - XtSetValues (w, al, 1); - } + xm_manage_resizing (w, flag); #endif }