summaryrefslogtreecommitdiff
path: root/src/lib/evas/include
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2018-05-14 16:15:48 -0700
committerCedric BAIL <cedric@osg.samsung.com>2018-05-24 16:02:20 -0700
commit15995ff0eb9e48ff0c6a395def61f7f818cbd0b1 (patch)
tree568ac1cfabb2a33436291087093ff3587dbc3e6a /src/lib/evas/include
parent33c278b8986d4eda17099b49efe33ce3ab8286ad (diff)
evas: make evas_object_free work in case of lost reference to Eo object.
This is clearly a workaround to a bad situation, but there is no case that I can find that solely lead to object being NULL nor is there any code that should do that, but still it does in some case...
Diffstat (limited to 'src/lib/evas/include')
-rw-r--r--src/lib/evas/include/evas_private.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/evas/include/evas_private.h b/src/lib/evas/include/evas_private.h
index ea3adb3ec5..c49d9990ed 100644
--- a/src/lib/evas/include/evas_private.h
+++ b/src/lib/evas/include/evas_private.h
@@ -1184,7 +1184,6 @@ struct _Evas_Object_Protected_Data
1184 Eina_Bool child_has_map : 1; 1184 Eina_Bool child_has_map : 1;
1185 Eina_Bool efl_del_called : 1; 1185 Eina_Bool efl_del_called : 1;
1186 Eina_Bool no_render : 1; // since 1.15 1186 Eina_Bool no_render : 1; // since 1.15
1187 Eina_Bool clean_layer : 1; // destructor option
1188 1187
1189 Eina_Bool snapshot_needs_redraw : 1; 1188 Eina_Bool snapshot_needs_redraw : 1;
1190 Eina_Bool snapshot_no_obscure : 1; 1189 Eina_Bool snapshot_no_obscure : 1;
@@ -1553,7 +1552,7 @@ Evas_Object *evas_object_new(Evas *e);
1553void evas_object_change_reset(Evas_Object_Protected_Data *obj); 1552void evas_object_change_reset(Evas_Object_Protected_Data *obj);
1554void evas_object_clip_recalc_do(Evas_Object_Protected_Data *obj, Evas_Object_Protected_Data *clipper); 1553void evas_object_clip_recalc_do(Evas_Object_Protected_Data *obj, Evas_Object_Protected_Data *clipper);
1555void evas_object_cur_prev(Evas_Object_Protected_Data *obj); 1554void evas_object_cur_prev(Evas_Object_Protected_Data *obj);
1556void evas_object_free(Evas_Object *obj, Eina_Bool clean_layer); 1555void evas_object_free(Evas_Object_Protected_Data *obj, Eina_Bool clean_layer);
1557void evas_object_update_bounding_box(Evas_Object *obj, Evas_Object_Protected_Data *pd, Evas_Smart_Data *s); 1556void evas_object_update_bounding_box(Evas_Object *obj, Evas_Object_Protected_Data *pd, Evas_Smart_Data *s);
1558void evas_object_inject(Evas_Object *obj, Evas_Object_Protected_Data *pd, Evas *e); 1557void evas_object_inject(Evas_Object *obj, Evas_Object_Protected_Data *pd, Evas *e);
1559void evas_object_release(Evas_Object *obj, Evas_Object_Protected_Data *pd, int clean_layer); 1558void evas_object_release(Evas_Object *obj, Evas_Object_Protected_Data *pd, int clean_layer);