Remove dead code.

This commit is contained in:
Michael Drake 2014-05-30 23:22:50 +01:00
parent 33513e65ea
commit ecee6ffad8
1 changed files with 0 additions and 8 deletions

View File

@ -593,8 +593,6 @@ bool ro_toolbar_process(struct toolbar *toolbar, int width, bool reformat)
wimp_window_state state;
os_box extent;
int old_height, old_width;
int xeig, yeig;
os_coord pixel = {1, 1};
if (!toolbar)
return false;
@ -602,12 +600,6 @@ bool ro_toolbar_process(struct toolbar *toolbar, int width, bool reformat)
old_height = toolbar->current_height;
old_width = toolbar->current_width;
/* calculate 1px in OS units */
ro_convert_pixels_to_os_units(&pixel, (os_mode)-1);
xeig = pixel.x;
yeig = pixel.y;
/* Measure the parent window width if the caller has asked us to
* calculate the clip width ourselves. Otherwise, if a clip width
* has been specified, set the clip to that.