summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Stanislawski <l.stanislaws@samsung.com>2015-12-24 14:03:54 +0900
committerHermet Park <hermet@hermet.pe.kr>2015-12-24 14:03:54 +0900
commitf7726c72290cd7341132939c5b6f8c0468f60e87 (patch)
tree0a654c0594ebb8f80d01d796aeff77c1b0f07a4c
parentec5cf083566c2e6773fb6e626121df7e344d852e (diff)
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
-rw-r--r--src/lib/elm_widget.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/lib/elm_widget.c b/src/lib/elm_widget.c
index 9ca241e90..f917d2917 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)
372 _obj_mouse_up, obj); 372 _obj_mouse_up, obj);
373 evas_object_event_callback_add(obj, EVAS_CALLBACK_MOUSE_IN, 373 evas_object_event_callback_add(obj, EVAS_CALLBACK_MOUSE_IN,
374 _obj_mouse_in, obj); 374 _obj_mouse_in, obj);
375 /* just a helper for inheriting classes */
376 if (priv->resize_obj)
377 {
378 Evas_Object *r_obj = priv->resize_obj;
379 priv->resize_obj = NULL;
380
381 elm_widget_resize_object_set(obj, r_obj, EINA_TRUE);
382 }
383} 375}
384 376
385static void 377static void