diff --git a/src/bin/termio.c b/src/bin/termio.c index b44e01ce..f924a5b3 100644 --- a/src/bin/termio.c +++ b/src/bin/termio.c @@ -302,14 +302,6 @@ termio_theme_set(Evas_Object *obj, Evas_Object *theme) if (theme) sd->theme = theme; } -Evas_Object * -termio_theme_get(Evas_Object *obj) -{ - Termio *sd = evas_object_smart_data_get(obj); - EINA_SAFETY_ON_NULL_RETURN_VAL(sd, NULL); - return sd->theme; -} - void termio_mouseover_suspend_pushpop(Evas_Object *obj, int dir) { diff --git a/src/bin/termio.h b/src/bin/termio.h index 56dfeb7c..f01118f6 100644 --- a/src/bin/termio.h +++ b/src/bin/termio.h @@ -10,7 +10,6 @@ Evas_Object *termio_add(Evas_Object *parent, Config *config, const char *cmd, Eina_Bool login_shell, const char *cd, int w, int h, Term *term); void termio_win_set(Evas_Object *obj, Evas_Object *win); void termio_theme_set(Evas_Object *obj, Evas_Object *theme); -Evas_Object *termio_theme_get(Evas_Object *obj); char *termio_selection_get(Evas_Object *obj, int c1x, int c1y, int c2x, int c2y, size_t *len, Eina_Bool right_trim); diff --git a/src/bin/win.c b/src/bin/win.c index 6a99c6e8..8b6b5c9f 100644 --- a/src/bin/win.c +++ b/src/bin/win.c @@ -2685,7 +2685,7 @@ void change_theme(Evas_Object *win, Config *config) EINA_LIST_FOREACH(terms, l, term) { - Evas_Object *edje = termio_theme_get(term->termio); + Evas_Object *edje = term->bg; if (!theme_apply(edje, config, "terminology/background")) ERR("Couldn't find terminology theme!");