diff --git a/components/rtgui/common/rtgui_object.c b/components/rtgui/common/rtgui_object.c index a4248cfb2..1ee7c1cb1 100644 --- a/components/rtgui/common/rtgui_object.c +++ b/components/rtgui/common/rtgui_object.c @@ -29,7 +29,7 @@ static void _rtgui_object_destructor(rtgui_object_t *object) /* nothing */ } -DEFINE_CLASS_TYPE(type, "object", +DEFINE_CLASS_TYPE(object, "object", RT_NULL, _rtgui_object_constructor, _rtgui_object_destructor,