The Birdfont Source Code


All Repositories / birdfont.git / blobdiff – RSS feed

Move the SVG parser and the SVG rendering code to libsvgbird

Changes made to libbirdfont/MenuTab.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/MenuTab.vala +++ libbirdfont/MenuTab.vala @@ -11,6 +11,8 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. */ + + using SvgBird; namespace BirdFont { @@ -274,6 +276,7 @@ } DrawingTools.set_stroke_tool_visibility (); + string lock_grid = f.settings.get_setting ("lock_grid"); bool lg = bool.parse (lock_grid); @@ -661,12 +664,12 @@ g.store_undo_state (); - foreach (Object o in g.active_paths) { + foreach (SvgBird.Object o in g.active_paths) { g.layers.remove (o); } foreach (Path p in g.get_active_paths ()) { - g.layers.remove_path (p); + LayerUtils.remove_path (g.layers, p); } foreach (Path p in paths) {