summaryrefslogtreecommitdiffstats
path: root/IOPriorityPanel.c
diff options
context:
space:
mode:
Diffstat (limited to 'IOPriorityPanel.c')
-rw-r--r--IOPriorityPanel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/IOPriorityPanel.c b/IOPriorityPanel.c
index bc80b7dc..04d98b18 100644
--- a/IOPriorityPanel.c
+++ b/IOPriorityPanel.c
@@ -14,7 +14,7 @@ in the source distribution for its full text.
}*/
Panel* IOPriorityPanel_new(IOPriority currPrio) {
- Panel* this = Panel_new(1, 1, 1, 1, LISTITEM_CLASS, true, ListItem_compare);
+ Panel* this = Panel_new(1, 1, 1, 1, true, Class(ListItem));
Panel_setHeader(this, "IO Priority:");
Panel_add(this, (Object*) ListItem_new("None (based on nice)", IOPriority_None));