(lw_set_main_areas): Use xm_set_main_areas().
(lw_manage_resizing): Use xm_manage_resizing() for Emacs/Motif.
This commit is contained in:
parent
ff5d2bae95
commit
f78c517706
1 changed files with 1 additions and 16 deletions
|
@ -1352,21 +1352,6 @@ lw_allow_resizing (w, flag)
|
|||
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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue