aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/elm_widget.c
diff options
context:
space:
mode:
authorWooHyun Jung <wh0705.jung@samsung.com>2017-08-24 13:29:39 +0900
committerWooHyun Jung <wh0705.jung@samsung.com>2017-08-24 13:29:39 +0900
commit7738ba5b37fba00af765a6bd320dda3857828cf9 (patch)
tree1c4e53c585107e077d5ee80ec8d3aa1d3bef4923 /src/lib/elementary/elm_widget.c
parentCpumonitor Theme: Add a theme for the base and the core. This fixes aspect. (diff)
downloadefl-7738ba5b37fba00af765a6bd320dda3857828cf9.tar.gz
elm_widget: remove redundant null check
Diffstat (limited to '')
-rw-r--r--src/lib/elementary/elm_widget.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/elementary/elm_widget.c b/src/lib/elementary/elm_widget.c
index 50a2e463a1..d9437e87e9 100644
--- a/src/lib/elementary/elm_widget.c
+++ b/src/lib/elementary/elm_widget.c
@@ -382,8 +382,7 @@ _logical_parent_eval(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *pd)
}
logical_wd->logical.child_count --;
old = pd->logical.parent;
- if (pd->logical.parent)
- efl_weak_unref(&pd->logical.parent);
+ efl_weak_unref(&pd->logical.parent);
pd->logical.parent = NULL;
}
if (parent)