fix segfault on e_widget_scrollframe_simple_add

SVN revision: 29837
This commit is contained in:
kiwi 2007-05-04 01:04:46 +00:00 committed by kiwi
parent 922208c066
commit 87874c3f1f
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ e_widget_scrollframe_simple_add(Evas *evas, Evas_Object *child)
e_widget_del_hook_set(obj, _e_wid_del_hook);
e_widget_focus_hook_set(obj, _e_wid_focus_hook);
wd = calloc(1, sizeof(wd));
wd = calloc(1, sizeof(E_Widget_Data));
e_widget_data_set(obj, wd);
o = e_scrollframe_add(evas);