The Birdfont Source Code


All Repositories / birdfont.git / blobdiff – RSS feed

Drop Drawing class

Changes made to libbirdfont/BirdFont.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/BirdFont.vala +++ libbirdfont/BirdFont.vala @@ -90,20 +90,11 @@ public static Font current_font; public static GlyphCollection current_glyph_collection; - - public static Drawing? drawing = null; public static string? settings_subdirectory = null; public static string? sandbox_directory = null; public BirdFont () { - set_defaul_drawing_callbacks (); - } - - void set_defaul_drawing_callbacks () { - if (drawing == null) { - drawing = new Drawing (); - } } /** @@ -543,11 +534,7 @@ printd (@"File in Directory: $f Name: $n\n"); return File.new_for_path (f + n); - } - - public static void set_drawing_callbacks (Drawing callbacks) { - BirdFont.drawing = callbacks; } }