aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/elm_widget.h
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-08-21 18:30:53 +0200
committerCedric BAIL <cedric.bail@free.fr>2019-08-21 10:46:37 -0700
commitb8bf5b31e847194446838d32565a4c654823024b (patch)
treee5f55f608701b2c521b20e9f52447ebdce10f841 /src/lib/elementary/elm_widget.h
parentefl_ui_widget: remove self reference (diff)
downloadefl-b8bf5b31e847194446838d32565a4c654823024b.tar.gz
efl_ui_widget: fix model listenting logic
if we are walking this method twice (spoiler we do!) then we subscribe twice to the event, which leads (depending on the order of executed deletion) to the accessing of obj after its deleted. Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D9684
Diffstat (limited to '')
-rw-r--r--src/lib/elementary/elm_widget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_widget.h b/src/lib/elementary/elm_widget.h
index 6350c882bf..4d854eb147 100644
--- a/src/lib/elementary/elm_widget.h
+++ b/src/lib/elementary/elm_widget.h
@@ -386,6 +386,7 @@ typedef struct _Elm_Widget_Smart_Data
Eina_Hash *model_lookup;
Eina_Hash *view_lookup;
Eina_Bool registered : 1;
+ Eina_Bool callback_to_provider : 1;
} properties;
void *shared_win_data;
Eina_Bool scroll_x_locked : 1;