The Birdfont Source Code


All Repositories / birdfont.git / commit – RSS feed

Fix more build errors

These changes was commited to the Birdfont repository Sun, 15 May 2016 13:30:54 +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 13:30:54 +0000 (15:30 +0200)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Sun, 15 May 2016 13:30:54 +0000 (15:30 +0200)
commit 8fbf6c9d049b3c4d44c899f1da2fff9c8e3b95e5
tree 7ec7c6aa8646d2c50ccf3360f342865ca5f9a51b
parent 877653622f427ebe68648c2b69073f16a74e8449
Fix more build errors

libbirdfont/OverView.vala
--- a/libbirdfont/OverView.vala +++ b/libbirdfont/OverView.vala @@ -574,7 +574,7 @@ if (i < item_list_length && !font.has_glyph (".notdef")) { item = new OverViewItem (); - item.set_glyphs (font.get_not_def_character ()); + item.set_glyphs (font.get_notdef_character ()); item.generate_graphics (false); item.version_menu = null; item.selected = (selected_items.index_of ((!) glyphs) != -1); @@ -628,17 +628,16 @@ for (int i = 0; i < visible_size; i++) { item = visible_items.get (i); - selected_item = false; - + if (all_available) { - glyphs = f.get_glyph_collection_index ((uint32) i); + glyphs = font.get_glyph_collection_index ((uint32) i); } else { - glyphs = f.get_glyph_collection_by_name ((!) item.character.to_string ()); + glyphs = font.get_glyph_collection_by_name ((!) item.character.to_string ()); } if (glyphs != null) { - selected_index = selected_items.index_of ((!) glyphs); - selected_item = (selected_index != -1); + int selected_index = selected_items.index_of ((!) glyphs); + item.selected = (selected_index != -1); } item.adjust_scale ();