colors: test return of edje_object_color_class_set() Fix CID1498351

master
Boris Faure 2 months ago
parent e7c29b78a1
commit 975a98092e
Signed by: borisfaure
GPG Key ID: EAA9CD729F522998
  1. 7
      src/bin/colors.c

@ -649,7 +649,12 @@ color_scheme_apply(Evas_Object *edje,
CS_SET_MANY("TAB_TITLE", normal.def, tab_title_2, bg);
#define CS_DARK 64, 64, 64, 255
edje_object_color_class_set(edje, "BG_SENDFILE", CS_DARK, CS_DARK, CS_DARK);
if (edje_object_color_class_set(edje, "BG_SENDFILE", CS_DARK, CS_DARK, CS_DARK)
!= EINA_TRUE)
{
ERR("error setting color class '%s' on object %p",
"BG_SENDFILE", edje);
}
#undef CS_DARK
#undef CS_SET

Loading…
Cancel
Save