Elementary elm_widget.c: Modification of last change in
authorDaniel Juyung Seo <seojuyung2@gmail.com>
Wed, 23 Mar 2011 07:15:01 +0000 (07:15 +0000)
committerDaniel Juyung Seo <seojuyung2@gmail.com>
Wed, 23 Mar 2011 07:15:01 +0000 (07:15 +0000)
elm_widget_show_region_set function.

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

SVN revision: 58015

src/lib/elm_widget.c

index 404e73d8510a6c7681a127359e029082aa90bede..eaaadedc25fcfc50ebcffce696360c25dd5db4f9 100644 (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);