billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=886bce509fac8ac99affad5fe15feef8f26540ff

commit 886bce509fac8ac99affad5fe15feef8f26540ff
Author: Boris Faure <bill...@gmail.com>
Date:   Sat Oct 17 23:24:59 2020 +0200

    colors: make color_scheme_apply() public
---
 src/bin/colors.c | 6 +++---
 src/bin/colors.h | 3 +++
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/bin/colors.c b/src/bin/colors.c
index 8da138b..281c260 100644
--- a/src/bin/colors.c
+++ b/src/bin/colors.c
@@ -563,8 +563,8 @@ colors_256_get(int col,
    *a = default_colors256[col].a;
 }
 
-static void
-_colorscheme_apply(Evas_Object *edje,
+void
+color_scheme_apply(Evas_Object *edje,
                    const Color_Scheme *cs)
 {
    if (!cs)
@@ -824,7 +824,7 @@ color_scheme_apply_from_config(Evas_Object *edje,
         ERR("Could not find color scheme \"%s\"", "Nord");
         return;
      }
-   _colorscheme_apply(edje, cs);
+   color_scheme_apply(edje, cs);
 }
 
 void
diff --git a/src/bin/colors.h b/src/bin/colors.h
index 6406f62..7417586 100644
--- a/src/bin/colors.h
+++ b/src/bin/colors.h
@@ -60,6 +60,9 @@ colors_256_get(int col,
 void
 color_scheme_apply_from_config(Evas_Object *edje,
                                const Config *config);
+void
+color_scheme_apply(Evas_Object *edje,
+                   const Color_Scheme *cs);
 
 Eina_List *
 color_scheme_list(void);

-- 


Reply via email to