projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa1051f
)
efl_ui_widget: error on NULL passing
author
Marcel Hollerbach
<mail@marcel-hollerbach.de>
Fri, 26 Apr 2019 16:50:59 +0000
(18:50 +0200)
committer
Hermet Park
<hermetpark@gmail.com>
Wed, 8 May 2019 04:25:02 +0000
(13:25 +0900)
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D8747
src/lib/elementary/efl_ui_widget.c
patch
|
blob
|
history
diff --git
a/src/lib/elementary/efl_ui_widget.c
b/src/lib/elementary/efl_ui_widget.c
index
776d57a
..
8671890
100644
(file)
--- a/
src/lib/elementary/efl_ui_widget.c
+++ b/
src/lib/elementary/efl_ui_widget.c
@@
-1619,7
+1619,6
@@
_efl_ui_widget_widget_sub_object_add(Eo *obj, Elm_Widget_Smart_Data *sd, Evas_Ob
{
Efl_Ui_Widget *parent;
- if (!sobj) return EINA_FALSE;
EINA_SAFETY_ON_FALSE_RETURN_VAL(efl_isa(sobj, EFL_GFX_ENTITY_INTERFACE), EINA_FALSE);
EINA_SAFETY_ON_TRUE_RETURN_VAL(obj == sobj, EINA_FALSE);