summaryrefslogtreecommitdiff
path: root/lwlib/lwlib.c
diff options
context:
space:
mode:
authorPaul Reilly <pmr@pajato.com>1994-10-02 12:07:01 +0000
committerPaul Reilly <pmr@pajato.com>1994-10-02 12:07:01 +0000
commit12a938fe20f3fae3d1d69401e68df711453c76b5 (patch)
tree77305a43132ab4972ce0dc8dfa30ed413f8a6615 /lwlib/lwlib.c
parentd8fc872f3786863bf8d2e4a1d0b0a1e390b39a4b (diff)
downloademacs-12a938fe20f3fae3d1d69401e68df711453c76b5.tar.gz
(lw_set_main_areas): Use xm_set_main_areas().
(lw_manage_resizing): Use xm_manage_resizing() for Emacs/Motif.
Diffstat (limited to 'lwlib/lwlib.c')
-rw-r--r--lwlib/lwlib.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/lwlib/lwlib.c b/lwlib/lwlib.c
index e3c0e6fd2c6..4d895cffb52 100644
--- a/lwlib/lwlib.c
+++ b/lwlib/lwlib.c
@@ -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
}