summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/util.c b/src/util.c
index 041d77b..272c63e 100644
--- a/src/util.c
+++ b/src/util.c
@@ -94,8 +94,7 @@ Evas_Object *util_add_scroller(Evas_Object *parent, const char *part)
elm_scroller_policy_set(scroll, ELM_SCROLLER_POLICY_OFF,
ELM_SCROLLER_POLICY_OFF);
- if (part)
- elm_object_part_content_set(parent, part, scroll);
+ elm_object_part_content_set(parent, part, scroll);
evas_object_show(scroll);