The Birdfont Source Code


All Repositories / birdfont.git / commit – RSS feed

Fix compilation bugs

These changes was commited to the Birdfont repository Thu, 19 Sep 2019 10:25:23 +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>
Thu, 19 Sep 2019 10:25:23 +0000 (12:25 +0200)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Thu, 19 Sep 2019 10:25:23 +0000 (12:25 +0200)
commit 642c451408ac508915a8f33df7084ed25887ddf6
tree ee562eb2321009434cf8a0e7cc04dbebbcde05e7
parent 2183271205eccd3587a2c512248e117fd8263b7a
Fix compilation bugs

libbirdfont/SettingsDisplay.vala
libbirdfont/SettingsTab.vala
libbirdfont/Theme.vala
libbirdfont/ThemeTab.vala
--- a/libbirdfont/SettingsDisplay.vala +++ b/libbirdfont/SettingsDisplay.vala @@ -17,7 +17,7 @@ namespace BirdFont { - public abstract class SettingsDisplay : FontDisplay { + internal abstract class SettingsDisplay : FontDisplay { double scroll = 0; double content_height = 1; @@ -29,7 +29,7 @@ SettingsItem new_key_bindings = new SettingsItem.head_line (""); public static bool update_key_bindings = false; - public SettingsDisplay () { + protected SettingsDisplay () { allocation = new WidgetAllocation (); tools = new Gee.ArrayList<SettingsItem> (); content_height = 200;
--- a/libbirdfont/SettingsTab.vala +++ b/libbirdfont/SettingsTab.vala @@ -17,7 +17,7 @@ namespace BirdFont { - public class SettingsTab : SettingsDisplay { + internal class SettingsTab : SettingsDisplay { string restart_message = "You need to restart the program in order to apply this setting.";
--- a/libbirdfont/Theme.vala +++ b/libbirdfont/Theme.vala @@ -679,7 +679,7 @@ colors.set (name, new Color (r, g, b, a)); } - public static void add_new_theme (SettingsDisplay d) { + internal static void add_new_theme (SettingsDisplay d) { TextListener listener; listener = new TextListener (t_("New theme"), "", t_("Set"));
--- a/libbirdfont/ThemeTab.vala +++ b/libbirdfont/ThemeTab.vala @@ -17,7 +17,7 @@ namespace BirdFont { - public class ThemeTab : SettingsDisplay { + internal class ThemeTab : SettingsDisplay { static ThemeTab singleton; ColorTool color_tool;