X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fxemacs-chise.git.1;a=blobdiff_plain;f=lwlib%2Fxlwradio.c;h=207a1ff9fbce591431e985ff1d9c35b4f2559ea7;hp=1eabcee35a244906c652f16d83249ecda0d94396;hb=1a5e625ffcc6b2e9a9828a89763c062a0b09b361;hpb=a1655b870904de973c366d85ebdc8adde4ef5e1e diff --git a/lwlib/xlwradio.c b/lwlib/xlwradio.c index 1eabcee..18f9cdd 100644 --- a/lwlib/xlwradio.c +++ b/lwlib/xlwradio.c @@ -53,7 +53,7 @@ Boston, MA 02111-1307, USA. */ #include #include -#include ATHENA_INCLUDE(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 ; }