Browse Source

fix compile error,restore old name,conflicting.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2133 bbd45198-f89e-11dd-88c7-29a3b14d5316
iamyhw@gmail.com 13 years ago
parent
commit
b20311198a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      components/rtgui/common/rtgui_object.c

+ 1 - 1
components/rtgui/common/rtgui_object.c

@@ -29,7 +29,7 @@ static void _rtgui_object_destructor(rtgui_object_t *object)
 	/* nothing */
 	/* nothing */
 }
 }
 
 
-DEFINE_CLASS_TYPE(object, "object",
+DEFINE_CLASS_TYPE(type, "object",
 	RT_NULL,
 	RT_NULL,
 	_rtgui_object_constructor,
 	_rtgui_object_constructor,
 	_rtgui_object_destructor,
 	_rtgui_object_destructor,