Elementary elm_widget.c: Modification of last change in

elm_widget_show_region_set function.

Patch by WooHyun Jung <wh0705.jung@samsung.com>



SVN revision: 58015
This commit is contained in:
Daniel Juyung Seo 2011-03-23 07:15:01 +00:00
parent 11033734f3
commit 65a8f97f30
1 changed files with 1 additions and 1 deletions

View File

@ -1689,10 +1689,10 @@ elm_widget_show_region_set(Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Co
do
{
parent_obj = sd->parent_obj;
child_obj = sd->obj;
if ((!parent_obj) || (!_elm_widget_is(parent_obj))) break;
sd = evas_object_smart_data_get(parent_obj);
if (!sd) break;
child_obj = sd->obj;
evas_object_geometry_get(parent_obj, &px, &py, NULL, NULL);
evas_object_geometry_get(child_obj, &cx, &cy, NULL, NULL);