summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorbernard.xiong <[email protected]>2011-01-30 04:23:49 +0000
committerbernard.xiong <[email protected]>2011-01-30 04:23:49 +0000
commita6d0f9b9422e59dbf9d692638f968f7ffeaf9c30 (patch)
tree3843ceaa38b6943875044ac3b1dd7444bcac64c5 /components
parent6bcf028cc23009732121f73c09b0a77080326adf (diff)
fix compiling error.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1266 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components')
-rw-r--r--components/rtgui/server/topwin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/rtgui/server/topwin.c b/components/rtgui/server/topwin.c
index a655d5a56e..fa1491e091 100644
--- a/components/rtgui/server/topwin.c
+++ b/components/rtgui/server/topwin.c
@@ -938,7 +938,7 @@ void rtgui_topwin_remove_monitor_rect(struct rtgui_win* wid, rtgui_rect_t* rect)
*/
void rtgui_topwin_do_clip(rtgui_widget_t* widget)
{
- rtgui_toplevel_t* wid;
+ rtgui_widget_t* wid;
struct rtgui_rect* rect;
struct rtgui_topwin* topwin;
struct rtgui_list_node* node;