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 --- Panel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Panel.c') diff --git a/Panel.c b/Panel.c index c76909cd..5d103753 100644 --- a/Panel.c +++ b/Panel.c @@ -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)); -- cgit v1.2.3