Commit f78c5177 authored by Paul Reilly's avatar Paul Reilly
Browse files

(lw_set_main_areas): Use xm_set_main_areas().

(lw_manage_resizing): Use xm_manage_resizing() for Emacs/Motif.
parent ff5d2bae
...@@ -1352,21 +1352,6 @@ lw_allow_resizing (w, flag) ...@@ -1352,21 +1352,6 @@ lw_allow_resizing (w, flag)
Boolean flag; Boolean flag;
{ {
#if defined (USE_MOTIF) #if defined (USE_MOTIF)
if (flag) xm_manage_resizing (w, 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);
}
#endif #endif
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment