hermet pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=f7726c72290cd7341132939c5b6f8c0468f60e87
commit f7726c72290cd7341132939c5b6f8c0468f60e87 Author: Lukasz Stanislawski <l.stanisl...@samsung.com> Date: Thu Dec 24 14:03:54 2015 +0900 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 --- src/lib/elm_widget.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/lib/elm_widget.c b/src/lib/elm_widget.c index 9ca241e..f917d29 100644 --- a/src/lib/elm_widget.c +++ b/src/lib/elm_widget.c @@ -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 --