Add return value checking 26/155426/1 accepted/tizen/unified/20171025.075131 submit/tizen/20171020.120936
authorJunsuChoi <jsuya.choi@samsung.com>
Fri, 13 Oct 2017 06:27:24 +0000 (15:27 +0900)
committerJunsuChoi <jsuya.choi@samsung.com>
Fri, 13 Oct 2017 06:27:24 +0000 (15:27 +0900)
Change-Id: I2b7fdffa26f3f63b5e5b177e64b0deea042d37eb

src/setting-accessibility.c

index b8b4e780d9e903f619645dcaba4bf5cdec35ede3..142b5c8824ce3ba565d688c715d94616ed68127e 100644 (file)
@@ -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);