diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2021-01-02 23:51:53 +0100 |
---|---|---|
committer | cgzones <cgzones@googlemail.com> | 2021-01-04 23:12:43 +0100 |
commit | ce9e7fd14f58467e3062b76d0132ebeb973a5e11 (patch) | |
tree | 09689984e9646806b0b92de329b051789dc8b508 /Panel.c | |
parent | badeaf9e8298b9b8bbb37252eacb0eb2fcf14b98 (diff) |
Panel_new: reorder arguments
Reorder owner and type so they match the order of Panel_init
Diffstat (limited to 'Panel.c')
-rw-r--r-- | Panel.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -30,7 +30,7 @@ const PanelClass Panel_class = { .eventHandler = Panel_selectByTyping, }; -Panel* Panel_new(int x, int y, int w, int h, bool owner, const ObjectClass* type, FunctionBar* fuBar) { +Panel* Panel_new(int x, int y, int w, int h, const ObjectClass* type, bool owner, FunctionBar* fuBar) { Panel* this; this = xMalloc(sizeof(Panel)); Object_setClass(this, Class(Panel)); |