The Birdfont Source Code


All Repositories / birdfont.git / blobdiff – RSS feed

Remove unused variables

Changes made to libbirdfont/OverViewItem.vala

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
--- libbirdfont/OverViewItem.vala +++ libbirdfont/OverViewItem.vala @@ -153,26 +153,16 @@ } public void draw_background () { - Glyph g; - Font font; - double gx, gy; - double x1, x2, y1, y2; double scale_box; - double w, h; - double glyph_width, glyph_height; Surface s; Context c; - Color color = Color.black (); - - w = width; - h = height; - + scale_box = width / DEFAULT_WIDTH; s = Screen.create_background_surface ((int) width, (int) height - 20); c = new Context (s); - if (glyphs != null) { // FIXME: lock + if (glyphs != null) { draw_glyph_from_font (); } else { c.scale (Screen.get_scale (), Screen.get_scale ());