Panel_new: reorder arguments

Reorder owner and type so they match the order of Panel_init
This commit is contained in:
Christian Göttsche
2021-01-02 23:51:53 +01:00
committed by cgzones
parent badeaf9e82
commit ce9e7fd14f
6 changed files with 7 additions and 7 deletions

View File

@ -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));