projects
/
chise
/
xemacs-chise.git.1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was generated by cvs2svn to compensate for changes in r5197,
[chise/xemacs-chise.git.1]
/
lwlib
/
xlwradio.c
diff --git
a/lwlib/xlwradio.c
b/lwlib/xlwradio.c
index
1eabcee
..
18f9cdd
100644
(file)
--- a/
lwlib/xlwradio.c
+++ b/
lwlib/xlwradio.c
@@
-53,7
+53,7
@@
Boston, MA 02111-1307, USA. */
#include <X11/IntrinsicP.h>
#include <X11/StringDefs.h>
#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"
#include "../src/xmu.h"
#include "xlwradioP.h"
@@
-272,13
+272,13
@@
RadioResize (Widget w)
switch( rw->label.justify ) {
case XtJustifyLeft:
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:
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 ;
}
}
break ;
}
}
@@
-374,14
+374,7
@@
RadioSetValues (Widget current,
{
RadioSize(newrw, &newrw->core.width, &newrw->core.height) ;
}
{
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 ;
}
return FALSE ;
}