From 7146059645dd87a4b46920223a0aa9881202f4e2 Mon Sep 17 00:00:00 2001 From: Benny Baumann Date: Sat, 21 Aug 2021 17:58:23 +0200 Subject: Removed unused field in ColorsPanel --- ColorsPanel.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ColorsPanel.c') diff --git a/ColorsPanel.c b/ColorsPanel.c index d9857308..e9c44b02 100644 --- a/ColorsPanel.c +++ b/ColorsPanel.c @@ -84,14 +84,13 @@ const PanelClass ColorsPanel_class = { .eventHandler = ColorsPanel_eventHandler }; -ColorsPanel* ColorsPanel_new(Settings* settings, ScreenManager* scr) { +ColorsPanel* ColorsPanel_new(Settings* settings) { ColorsPanel* this = AllocThis(ColorsPanel); Panel* super = (Panel*) this; FunctionBar* fuBar = FunctionBar_new(ColorsFunctions, NULL, NULL); Panel_init(super, 1, 1, 1, 1, Class(CheckItem), true, fuBar); this->settings = settings; - this->scr = scr; assert(ARRAYSIZE(ColorSchemeNames) == LAST_COLORSCHEME + 1); -- cgit v1.2.3