This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository terminology.

View the commit online.

commit 3ebf55310daee149ed35fdfc0b377cd4352695c5
Author: Boris Faure <bill...@gmail.com>
AuthorDate: Mon Sep 26 22:00:28 2022 +0200

    termio: fix CID1498352 about function not checked
---
 src/bin/termio.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/bin/termio.c b/src/bin/termio.c
index 63df4fc..2c2b6ac 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -1548,10 +1548,14 @@ _color_tooltip_content(void *data,
    theme_apply(o, sd->config, "terminology/color_preview",
                NULL, NULL, EINA_FALSE);
    evas_object_size_hint_min_set(o, 80, 80);
-   edje_object_color_class_set(o, "color_preview",
+   if (edje_object_color_class_set(o, "color_preview",
        sd->link.color.r, sd->link.color.g, sd->link.color.b, sd->link.color.a,
        sd->link.color.r, sd->link.color.g, sd->link.color.b, sd->link.color.a,
-       sd->link.color.r, sd->link.color.g, sd->link.color.b, sd->link.color.a);
+       sd->link.color.r, sd->link.color.g, sd->link.color.b, sd->link.color.a)
+       != EINA_TRUE)
+     {
+        ERR("error setting color class '%s'", "color_preview");
+     }
 
    txt = _color_to_txt(sd);
    edje_object_part_text_set(o, "name", txt);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to