Mercurial > hg > xemacs-beta
comparison src/toolbar-common.c @ 2212:51a17f29fab3
[xemacs-hg @ 2004-08-12 14:51:34 by james]
Remove unused local variables.
author | james |
---|---|
date | Thu, 12 Aug 2004 14:51:35 +0000 |
parents | c15f25529e61 |
children | 3d8143fc88e1 |
comparison
equal
deleted
inserted
replaced
2211:518f43ab0991 | 2212:51a17f29fab3 |
---|---|
165 common_output_toolbar_button (struct frame *f, Lisp_Object button) | 165 common_output_toolbar_button (struct frame *f, Lisp_Object button) |
166 { | 166 { |
167 int shadow_thickness = 2; | 167 int shadow_thickness = 2; |
168 int x_adj, y_adj, width_adj, height_adj; | 168 int x_adj, y_adj, width_adj, height_adj; |
169 struct device *d = XDEVICE (f->device); | 169 struct device *d = XDEVICE (f->device); |
170 Lisp_Object instance, frame, window, glyph; | 170 Lisp_Object instance, window, glyph; |
171 struct toolbar_button *tb = XTOOLBAR_BUTTON (button); | 171 struct toolbar_button *tb = XTOOLBAR_BUTTON (button); |
172 struct Lisp_Image_Instance *p; | 172 struct Lisp_Image_Instance *p; |
173 struct window *w; | 173 struct window *w; |
174 int vertical = tb->vertical; | 174 int vertical = tb->vertical; |
175 int border_width = tb->border_width; | 175 int border_width = tb->border_width; |
188 width_adj = 0; | 188 width_adj = 0; |
189 y_adj = border_width; | 189 y_adj = border_width; |
190 height_adj = - 2 * border_width; | 190 height_adj = - 2 * border_width; |
191 } | 191 } |
192 | 192 |
193 frame = wrap_frame (f); | |
194 window = FRAME_LAST_NONMINIBUF_WINDOW (f); | 193 window = FRAME_LAST_NONMINIBUF_WINDOW (f); |
195 w = XWINDOW (window); | 194 w = XWINDOW (window); |
196 | 195 |
197 glyph = get_toolbar_button_glyph (w, tb); | 196 glyph = get_toolbar_button_glyph (w, tb); |
198 | 197 |