summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2015-07-10 20:45:18 +0530
committerAmitesh Singh <amitesh.sh@samsung.com>2015-07-10 20:45:18 +0530
commit312a225dc09f06a423e2dd841577e0866c426a82 (patch)
tree2839290abce70ba2788829079f95590e62c0b6ab /src/lib
parenta85c9466bfd17fd51bb270729b0466791ce1db14 (diff)
color_class: Check return value of elm_layout_theme_set
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/elm_color_class.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/elm_color_class.c b/src/lib/elm_color_class.c
index 0014d7ec2..d40a59c26 100644
--- a/src/lib/elm_color_class.c
+++ b/src/lib/elm_color_class.c
@@ -715,7 +715,8 @@ elm_color_class_editor_add(Evas_Object *obj, uint64_t winid)
715 } 715 }
716 cc->winid = winid; 716 cc->winid = winid;
717 cc->ly = ly = elm_layout_add(obj); 717 cc->ly = ly = elm_layout_add(obj);
718 elm_layout_theme_set(ly, "layout", "colorclass", "base"); 718 if (!elm_layout_theme_set(ly, "layout", "colorclass", "base"))
719 CRI("Failed to set layout!");
719 elm_layout_signal_callback_add(ly, "elm,colorclass,select,*", "elm", _colorclass_select, cc); 720 elm_layout_signal_callback_add(ly, "elm,colorclass,select,*", "elm", _colorclass_select, cc);
720 elm_layout_signal_callback_add(ly, "elm,colorclass,deactivate", "elm", _colorclass_deactivate, cc); 721 elm_layout_signal_callback_add(ly, "elm,colorclass,deactivate", "elm", _colorclass_deactivate, cc);
721 elm_layout_signal_callback_add(ly, "elm,colorclass,dismiss", "elm", _colorclass_dismiss, cc); 722 elm_layout_signal_callback_add(ly, "elm,colorclass,dismiss", "elm", _colorclass_dismiss, cc);