From ce9e7fd14f58467e3062b76d0132ebeb973a5e11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Sat, 2 Jan 2021 23:51:53 +0100 Subject: Panel_new: reorder arguments Reorder owner and type so they match the order of Panel_init --- linux/IOPriorityPanel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux/IOPriorityPanel.c') diff --git a/linux/IOPriorityPanel.c b/linux/IOPriorityPanel.c index c5a4a4c9..25d2199d 100644 --- a/linux/IOPriorityPanel.c +++ b/linux/IOPriorityPanel.c @@ -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)); -- cgit v1.2.3