summaryrefslogtreecommitdiff
path: root/components/rtgui/widgets/widget.c
diff options
context:
space:
mode:
author[email protected] <[email protected]>2010-12-22 23:57:44 +0000
committer[email protected] <[email protected]>2010-12-22 23:57:44 +0000
commitc260b4d77fce75937738bf12e9ffa1c78e9dff4e (patch)
tree4313fb76313e9cd6513feb68405ccc861166641e /components/rtgui/widgets/widget.c
parentecb7e7d987e323837578516e0e0a14ba94000982 (diff)
update notebook control.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1223 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/rtgui/widgets/widget.c')
-rw-r--r--components/rtgui/widgets/widget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/rtgui/widgets/widget.c b/components/rtgui/widgets/widget.c
index b3c5450444..7023065bfa 100644
--- a/components/rtgui/widgets/widget.c
+++ b/components/rtgui/widgets/widget.c
@@ -111,7 +111,7 @@ void rtgui_widget_destroy(rtgui_widget_t* widget)
rtgui_object_destroy(RTGUI_OBJECT(widget));
}
-void rtgui_widget_set_rect(rtgui_widget_t* widget, rtgui_rect_t* rect)
+void rtgui_widget_set_rect(rtgui_widget_t* widget, const rtgui_rect_t* rect)
{
if (widget == RT_NULL || rect == RT_NULL) return;