summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bin/test_focus_style.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/test_focus_style.c b/src/bin/test_focus_style.c
index 477d256f2..62f632ab1 100644
--- a/src/bin/test_focus_style.c
+++ b/src/bin/test_focus_style.c
@@ -150,7 +150,8 @@ test_focus_part(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *even
150 layout = elm_layout_add(bx); 150 layout = elm_layout_add(bx);
151 evas_object_size_hint_weight_set(chk, EVAS_HINT_EXPAND, 0.0); 151 evas_object_size_hint_weight_set(chk, EVAS_HINT_EXPAND, 0.0);
152 evas_object_size_hint_align_set(chk, EVAS_HINT_FILL, EVAS_HINT_FILL); 152 evas_object_size_hint_align_set(chk, EVAS_HINT_FILL, EVAS_HINT_FILL);
153 elm_layout_theme_set(layout, "layout", "focus", "example"); 153 if (!elm_layout_theme_set(layout, "layout", "focus", "example"))
154 printf("error setting focus example layout\n");
154 elm_box_pack_end(bx, layout); 155 elm_box_pack_end(bx, layout);
155 elm_object_focus_allow_set(layout, EINA_TRUE); 156 elm_object_focus_allow_set(layout, EINA_TRUE);
156 evas_object_show(layout); 157 evas_object_show(layout);