diff options
author | Benny Baumann <BenBE@geshi.org> | 2021-08-21 17:58:23 +0200 |
---|---|---|
committer | Christian Göttsche <cgzones@googlemail.com> | 2021-08-22 15:21:52 +0200 |
commit | 7146059645dd87a4b46920223a0aa9881202f4e2 (patch) | |
tree | 5e64249092f5c87d300fea5df3f7e6a67cd51a16 /ColorsPanel.c | |
parent | cf45a5d02b09120fc2e8e9ebaaaa5bdd45a021e4 (diff) |
Removed unused field in ColorsPanel
Diffstat (limited to 'ColorsPanel.c')
-rw-r--r-- | ColorsPanel.c | 3 |
1 files changed, 1 insertions, 2 deletions
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); |