From b20311198a273161ac1476c865110879ddbe4e57 Mon Sep 17 00:00:00 2001 From: "iamyhw@gmail.com" Date: Tue, 29 May 2012 00:37:10 +0000 Subject: [PATCH] fix compile error,restore old name,conflicting. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2133 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- components/rtgui/common/rtgui_object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/rtgui/common/rtgui_object.c b/components/rtgui/common/rtgui_object.c index 1ee7c1cb1..a4248cfb2 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(object, "object", +DEFINE_CLASS_TYPE(type, "object", RT_NULL, _rtgui_object_constructor, _rtgui_object_destructor,