X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lwlib%2Fxlwradio.c;h=18f9cdd1c670820f006a29bba4efc3888f1cc6e8;hb=6b1f1b2af579009e8a95f9c79f3cfe119f2f595d;hp=32561c1e07b7ec02e23cb973227ce3f0ec99430f;hpb=762383636a99307282c2d93d26c35c046ec24da1;p=chise%2Fxemacs-chise.git.1 diff --git a/lwlib/xlwradio.c b/lwlib/xlwradio.c index 32561c1..18f9cdd 100644 --- a/lwlib/xlwradio.c +++ b/lwlib/xlwradio.c @@ -53,7 +53,7 @@ Boston, MA 02111-1307, USA. */ #include #include -#include ATHENA_XawInit_h_ +#include #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 ; }