This commit was generated by cvs2svn to compensate for changes in r5670,
[chise/xemacs-chise.git.1] / lwlib / xlwradio.c
index 1eabcee..18f9cdd 100644 (file)
@@ -53,7 +53,7 @@ Boston, MA 02111-1307, USA.  */
 
 #include <X11/IntrinsicP.h>
 #include <X11/StringDefs.h>
-#include ATHENA_INCLUDE(XawInit.h)
+#include <X11/Xaw/XawInit.h>
 #include "../src/xmu.h"
 #include "xlwradioP.h"
 
@@ -272,13 +272,13 @@ RadioResize (Widget w)
 
     switch( rw->label.justify ) {
       case XtJustifyLeft:
-       rw->label.label_x += (bs(rw) + rw->label.internal_width) ;
+       rw->label.label_x += bs(rw) + rw->label.internal_width ;
        break ;
       case XtJustifyRight:
        break ;
       case XtJustifyCenter:
       default:
-       rw->label.label_x += (bs(rw) + rw->label.internal_width)/2;
+       rw->label.label_x += (bs(rw) + rw->label.internal_width)/2 ;
        break ;
     }
 }
@@ -374,14 +374,7 @@ RadioSetValues (Widget   current,
     {
       RadioSize(newrw, &newrw->core.width, &newrw->core.height) ;
     }
-    
-    /* The label set values routine can resize the widget. We need to 
-     * recalculate if this is true.
-     */
-    if (newrw->label.label_x != oldrw->label.label_x)
-    {
-      RadioResize (new);
-    }
+
     return FALSE ;
 }