The Birdfont Source Code


All Repositories / birdfont.git / commit – RSS feed

Fix build errors

These changes was commited to the Birdfont repository Sun, 15 May 2016 14:49:06 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
author Johan Mattsson <johan.mattsson.m@gmail.com>
Sun, 15 May 2016 14:49:06 +0000 (16:49 +0200)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Sun, 15 May 2016 14:49:06 +0000 (16:49 +0200)
commit d671a8b4606e1868c210beac7554d28f4b3ef727
tree 7f9f27809b04d11b03e73ba961ab42db1be93939
parent f8b5fc2583771851b6a75ff91ddfb1a6006f0504
Fix build errors

libbirdfont/OverView.vala
--- a/libbirdfont/OverView.vala +++ b/libbirdfont/OverView.vala @@ -1292,7 +1292,7 @@ } public override void button_press (uint button, double x, double y) { - OverViewItem i; + OverViewItem selected_item; int index = 0; int selected_index = -1; bool update = false; @@ -1308,9 +1308,9 @@ } for (int j = 0; j < visible_items.size; j++) { - i = visible_items.get (j); + selected_item = visible_items.get (j); - if (i.click (button, x, y)) { + if (selected_item.click (button, x, y)) { selected = index; selected_item = get_selected_item (); @@ -1335,8 +1335,8 @@ } } - if (!is_null (i.version_menu)) { - update = !i.version_menu.menu_visible; + if (!is_null (selected_item.version_menu)) { + update = !selected_item.version_menu.menu_visible; } else { update = true; }