widget: remove redundat resize_object_set call

Summary:
This code is wrong and enforces developers to manipulate
resize_obj filed directly, instead of using elm_widget_resize_object_set.

Test Plan:
check if objects inheriting from elm_widget do not set field
directly.

Reviewers: cedric, raster, seoz

Subscribers: seoz

Projects: #elementary

Differential Revision: https://phab.enlightenment.org/D3362
This commit is contained in:
Lukasz Stanislawski 2015-12-24 14:03:54 +09:00 committed by Hermet Park
parent 36193a72fd
commit ffbe03545f
1 changed files with 0 additions and 8 deletions

View File

@ -372,14 +372,6 @@ _elm_widget_evas_object_smart_add(Eo *obj, Elm_Widget_Smart_Data *priv)
_obj_mouse_up, obj);
evas_object_event_callback_add(obj, EVAS_CALLBACK_MOUSE_IN,
_obj_mouse_in, obj);
/* just a helper for inheriting classes */
if (priv->resize_obj)
{
Evas_Object *r_obj = priv->resize_obj;
priv->resize_obj = NULL;
elm_widget_resize_object_set(obj, r_obj, EINA_TRUE);
}
}
static void