changeset 27998:e61be6a5e321

(xm_manage_resizing): Rewritten.
author Gerd Moellmann <gerd@gnu.org>
date Sun, 05 Mar 2000 14:31:41 +0000
parents 7ff6dc4c3775
children 8045a34e221d
files lwlib/lwlib-Xm.c
diffstat 1 files changed, 1 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/lwlib/lwlib-Xm.c	Sun Mar 05 14:31:04 2000 +0000
+++ b/lwlib/lwlib-Xm.c	Sun Mar 05 14:31:41 2000 +0000
@@ -1963,20 +1963,5 @@
      Widget w;
      Boolean flag;
 {
-  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);
-    }
+  XtVaSetValues (w, XtNallowShellResize, flag, NULL);
 }