summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_widget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/efl_ui_widget.c')
-rw-r--r--src/lib/elementary/efl_ui_widget.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/elementary/efl_ui_widget.c b/src/lib/elementary/efl_ui_widget.c
index 4b0b8db781..c2a0af7ce7 100644
--- a/src/lib/elementary/efl_ui_widget.c
+++ b/src/lib/elementary/efl_ui_widget.c
@@ -2356,7 +2356,7 @@ _efl_ui_widget_efl_gfx_entity_scale_get(const Eo *obj EINA_UNUSED, Elm_Widget_Sm
2356 // FIXME: save walking up the tree by storing/caching parent scale 2356 // FIXME: save walking up the tree by storing/caching parent scale
2357 if (EINA_DBL_EQ(sd->scale, 0.0)) 2357 if (EINA_DBL_EQ(sd->scale, 0.0))
2358 { 2358 {
2359 if (sd->parent_obj && elm_widget_is(sd->parent_obj)) 2359 if (sd->parent_obj)
2360 { 2360 {
2361 return efl_gfx_entity_scale_get(sd->parent_obj); 2361 return efl_gfx_entity_scale_get(sd->parent_obj);
2362 } 2362 }
@@ -2621,7 +2621,7 @@ elm_widget_theme_get(const Evas_Object *obj)
2621 2621
2622 if (!sd->theme) 2622 if (!sd->theme)
2623 { 2623 {
2624 if (sd->parent_obj && elm_widget_is(sd->parent_obj)) 2624 if (sd->parent_obj)
2625 return elm_widget_theme_get(sd->parent_obj); 2625 return elm_widget_theme_get(sd->parent_obj);
2626 else return NULL; 2626 else return NULL;
2627 } 2627 }
@@ -5263,7 +5263,7 @@ elm_widget_show_region_set(Eo *obj, Eina_Rect sr, Eina_Bool forceshow)
5263 do 5263 do
5264 { 5264 {
5265 parent_obj = sd->parent_obj; 5265 parent_obj = sd->parent_obj;
5266 if ((!parent_obj) || (!_elm_widget_is(parent_obj))) break; 5266 if ((!parent_obj)) break;
5267 sd = efl_data_scope_get(parent_obj, MY_CLASS); 5267 sd = efl_data_scope_get(parent_obj, MY_CLASS);
5268 if (!sd) break; 5268 if (!sd) break;
5269 5269