efl_ui_widget: correct the comparison parameter in scroll_freeze_push

I guess it is copy/paste error.

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D9669
This commit is contained in:
Yeongjong Lee 2019-08-21 08:44:20 +00:00 committed by Marcel Hollerbach
parent 1ada3e7427
commit e7986cc646
1 changed files with 1 additions and 1 deletions

View File

@ -2250,7 +2250,7 @@ _efl_ui_widget_scroll_freeze_push(Eo *obj, Elm_Widget_Smart_Data *sd)
{
if (elm_widget_is(child) && _elm_scrollable_is(child))
{
if (elm_widget_is_legacy(obj))
if (elm_widget_is_legacy(child))
elm_interface_scrollable_freeze_set(child, EINA_TRUE);
else
efl_ui_scrollable_scroll_freeze_set(child, EINA_TRUE);