projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67e2b13
)
e_comp_object: Add null check
46/260446/1
author
Seunghun Lee
<shiin.lee@samsung.com>
Fri, 25 Jun 2021 04:49:22 +0000
(13:49 +0900)
committer
Seunghun Lee
<shiin.lee@samsung.com>
Fri, 25 Jun 2021 04:50:48 +0000
(13:50 +0900)
This silences error log.
E/E20 ( 301): ERR<evas_main> ../src/lib/evas/canvas/evas_ob:0155
calling smart object API on non-smart object!
Change-Id: I2d1785343da3bc295398527aff5db4a315d38dde
src/bin/e_comp_object.c
patch
|
blob
|
history
diff --git
a/src/bin/e_comp_object.c
b/src/bin/e_comp_object.c
index d6ac114448d5a5104d7700cb823fef23d5fced3c..1d1d19f6994fc4d33b1b239a17acd7b6dc612701 100644
(file)
--- a/
src/bin/e_comp_object.c
+++ b/
src/bin/e_comp_object.c
@@
-4030,6
+4030,9
@@
e_comp_object_input_objs_del(Evas_Object *obj)
E_Input_Rect_Data *input_rect_data;
E_Input_Rect_Smart_Data *input_rect_sd;
+ if (!cw->input_obj)
+ return;
+
input_rect_sd = evas_object_smart_data_get(cw->input_obj);
if (!input_rect_sd) return;