path: root/src/lib/elementary/elm_widget.h
diff options
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-08-21 17:26:03 +0200
committerCedric BAIL <cedric.bail@free.fr>2019-08-21 10:46:34 -0700
commit4cede693a5d39d80de4aadf395b612378997e813 (patch)
treec3ab90846bab817c91cf00563aba478bf556637d /src/lib/elementary/elm_widget.h
parentefl_ui/popup: remove anchor_popup class (diff)
efl_ui_widget: remove self reference
as an example: elm_test uses roughly 500 widgets, this pointer takes 8 bytes, this is wasting quite some time, which can be perfectly safed by just structuring the code a little bit more. In some callbacks we need to call one more time efl_data_scope_get but that is not a that big issue, as most calls after that are also doing a eo call on that object, so the eo_id is already cached. Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D9683
Diffstat (limited to '')
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_widget.h b/src/lib/elementary/elm_widget.h
index 7a95d0b03b..6350c882bf 100644
--- a/src/lib/elementary/elm_widget.h
+++ b/src/lib/elementary/elm_widget.h
@@ -321,7 +321,6 @@ typedef void (*Elm_Access_On_Highlight_Cb)(void *data);
typedef struct _Elm_Widget_Smart_Data
- Evas_Object *obj; /**< object pointer for this widget smart data */
Evas_Object *parent_obj; /**< parent object of a widget in the elementary tree */
Eina_List *subobjs; /**< list of widgets' sub objects in the elementary tree */
Evas_Object *resize_obj; /**< an unique object for each widget that shows the look of a widget. Resize object's geometry is same as the widget. This resize object is different from that of window's resize object. */