summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/setting-accessibility.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/setting-accessibility.c b/src/setting-accessibility.c
index b8b4e78..142b5c8 100644
--- a/src/setting-accessibility.c
+++ b/src/setting-accessibility.c
@@ -47,7 +47,8 @@ __setting_accessibility_create_common_view(void *data)
ad->pObj_layout_main = elm_layout_add(ad->pObj_conform);
access_retm_if(!ad->pObj_layout_main, "elm_layout_add() error.");
- elm_layout_theme_set(ad->pObj_layout_main, "layout", "application", "default");
+ if (!elm_layout_theme_set(ad->pObj_layout_main, "layout", "application", "default"))
+ ERR("Failed to set layout");
evas_object_size_hint_weight_set(ad->pObj_layout_main, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
elm_object_part_content_set(ad->pObj_conform, "elm.swallow.content", ad->pObj_layout_main);
evas_object_show(ad->pObj_layout_main);