colors: show error in case applying NULL color scheme

This commit is contained in:
Boris Faure 2020-11-15 00:13:25 +01:00
parent f0404cd5fd
commit 5b186b69a3
Signed by: borisfaure
GPG Key ID: 35C0410516166BE8
1 changed files with 1 additions and 2 deletions

View File

@ -535,8 +535,7 @@ void
color_scheme_apply(Evas_Object *edje,
const Color_Scheme *cs)
{
if (!cs)
return;
EINA_SAFETY_ON_NULL_RETURN(cs);
#define CS_SET(_K, _F) do {\
edje_object_color_class_set(edje, _K, \