billiob pushed a commit to branch terminology-1.8.

http://git.enlightenment.org/apps/terminology.git/commit/?id=214c72eb0c5a836fa38b5e2d56e820e477af1254

commit 214c72eb0c5a836fa38b5e2d56e820e477af1254
Author: Boris Faure <bill...@gmail.com>
Date:   Sat Aug 29 18:38:11 2020 +0200

    win: use theme_apply_elm on elm_layout
---
 src/bin/win.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/win.c b/src/bin/win.c
index 594cfc5..bf1ba42 100644
--- a/src/bin/win.c
+++ b/src/bin/win.c
@@ -5900,7 +5900,7 @@ void change_theme(Evas_Object *win, Config *config)
      {
         Evas_Object *edje = term->bg_edj;
 
-        if (!theme_apply(edje, config, "terminology/background"))
+        if (!theme_apply_elm(term->bg, config, "terminology/background"))
           ERR("Couldn't find terminology theme!");
         colors_term_init(termio_textgrid_get(term->termio), edje, config);
         termio_config_set(term->termio, config);
@@ -7377,7 +7377,7 @@ term_new(Win *wn, Config *config, const char *cmd,
    term->bg_edj = elm_layout_edje_get(term->bg);
    evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
    evas_object_size_hint_fill_set(o, EVAS_HINT_FILL, EVAS_HINT_FILL);
-   if (!theme_apply(o, config, "terminology/background"))
+   if (!theme_apply_elm(o, config, "terminology/background"))
      {
         CRITICAL(_("Couldn't find terminology theme! Forgot 'ninja 
install'?"));
         evas_object_del(term->bg);

-- 


Reply via email to