Mercurial > hg > xemacs-beta
comparison lwlib/lwlib-utils.c @ 647:b39c14581166
[xemacs-hg @ 2001-08-13 04:45:47 by ben]
removal of unsigned, size_t, etc.
author | ben |
---|---|
date | Mon, 13 Aug 2001 04:46:48 +0000 |
parents | 54fa1a5c2d12 |
children | 04bc9d2f42c7 |
comparison
equal
deleted
inserted
replaced
646:00c54252fe4f | 647:b39c14581166 |
---|---|
117 void* result; | 117 void* result; |
118 if (XtIsComposite (w)) | 118 if (XtIsComposite (w)) |
119 { | 119 { |
120 CompositeWidget cw = (CompositeWidget)w; | 120 CompositeWidget cw = (CompositeWidget)w; |
121 int i; | 121 int i; |
122 for (i = 0; i < cw->composite.num_children; i++) | 122 for (i = 0; i < (int) cw->composite.num_children; i++) |
123 if (XtIsWidget (cw->composite.children [i])){ | 123 if (XtIsWidget (cw->composite.children[i])) |
124 result = proc (cw->composite.children [i], arg); | 124 { |
125 if (result) | 125 result = proc (cw->composite.children[i], arg); |
126 return result; | 126 if (result) |
127 result = XtApplyUntilToWidgets (cw->composite.children [i], proc, | 127 return result; |
128 arg); | 128 result = XtApplyUntilToWidgets (cw->composite.children[i], proc, |
129 if (result) | 129 arg); |
130 return result; | 130 if (result) |
131 } | 131 return result; |
132 } | |
132 } | 133 } |
133 return NULL; | 134 return NULL; |
134 } | 135 } |
135 | 136 |
136 | 137 |