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

@ -17,7 +17,7 @@ in the source distribution for its full text.
Panel* IOPriorityPanel_new(IOPriority currPrio) {
Panel* this = Panel_new(1, 1, 1, 1, true, Class(ListItem), FunctionBar_newEnterEsc("Set ", "Cancel "));
Panel* this = Panel_new(1, 1, 1, 1, Class(ListItem), true, FunctionBar_newEnterEsc("Set ", "Cancel "));
Panel_setHeader(this, "IO Priority:");
Panel_add(this, (Object*) ListItem_new("None (based on nice)", IOPriority_None));