seoz pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=b2e48a1a1e892fb7ef0de385c507fd068d9918fe
commit b2e48a1a1e892fb7ef0de385c507fd068d9918fe Author: Daniel Juyung Seo <[email protected]> Date: Wed Mar 4 20:59:36 2015 +0900 colorselector: Check return value of elm_layout_theme_set as other widgets do. This fixes coverity CID 1273969. --- src/lib/elm_colorselector.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib/elm_colorselector.c b/src/lib/elm_colorselector.c index d434027..e91f454 100644 --- a/src/lib/elm_colorselector.c +++ b/src/lib/elm_colorselector.c @@ -1117,7 +1117,10 @@ _elm_colorselector_elm_widget_theme_apply(Eo *obj, Elm_Colorselector_Data *sd) } } - elm_layout_theme_set(sd->picker, "colorselector", "picker/base", elm_widget_style_get(obj)); + if (!elm_layout_theme_set(sd->picker, "colorselector", "picker/base", + elm_widget_style_get(obj))) + CRI("Failed to set layout!"); + style = eina_stringshare_printf("colorselector/%s", elm_widget_style_get(obj)); #ifdef HAVE_ELEMENTARY_X elm_object_style_set(sd->button, style); --
