The Birdfont Source Code


All Repositories / birdfont.git / blobdiff – RSS feed

Fix warning about missing version list

Changes made to libbirdfont/GlyphCanvas.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/GlyphCanvas.vala +++ libbirdfont/GlyphCanvas.vala @@ -81,7 +81,7 @@ } public void redraw_area (int x, int y, int w, int h) { - if (MenuTab.has_suppress_event ()) { + if (unlikely (MenuTab.has_suppress_event ())) { warning ("Do not call redraw from background thread."); } else { signal_redraw_area (x, y, w, h);