diff --git a/garglk/theme.cpp b/garglk/theme.cpp index adbbfcfe8..537f81af8 100644 --- a/garglk/theme.cpp +++ b/garglk/theme.cpp @@ -103,18 +103,6 @@ struct ThemeStyles { styles[i].bg = colors[i].bg; } } - - static ThemeStyles from(const style_t *styles) { - auto colors = make_array(ColorPair{white, black}); - - for (int i = 0; i < style_NUMSTYLES; i++) - { - colors[i].fg = styles[i].fg; - colors[i].bg = styles[i].bg; - } - - return {colors}; - } }; struct Theme {