rtgui_demo: port to new API

This commit is contained in:
Grissiom 2013-01-24 12:54:20 +08:00
parent 94a727a4fe
commit 634c3a3518
1 changed files with 2 additions and 2 deletions

View File

@ -365,7 +365,7 @@ void snake_main(void)
struct rtgui_win *win;
rtgui_rect_t rect;
application = rtgui_app_create(rt_thread_self(), "sanke_app");
application = rtgui_app_create("sanke_app");
if (application != RT_NULL)
{
rtgui_get_screen_rect(&rect);