Commit 642c451
Fix compilation bugs
Changed files (4)
modifiedlibbirdfont/SettingsDisplay.valamodifiedlibbirdfont/SettingsTab.valamodifiedlibbirdfont/Theme.valamodifiedlibbirdfont/ThemeTab.vala
Diff
@@ -17,7 +17,7 @@ using Math; namespace BirdFont { -public abstract class SettingsDisplay : FontDisplay {+internal abstract class SettingsDisplay : FontDisplay { double scroll = 0; double content_height = 1;@@ -29,7 +29,7 @@ public abstract class SettingsDisplay : FontDisplay { 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;@@ -17,7 +17,7 @@ using Math; 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."; @@ -679,7 +679,7 @@ public class Theme : GLib.Object { 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"));@@ -17,7 +17,7 @@ using Math; namespace BirdFont { -public class ThemeTab : SettingsDisplay {+internal class ThemeTab : SettingsDisplay { static ThemeTab singleton; ColorTool color_tool;