remove useless termio_theme_get()
This commit is contained in:
parent
5d6544ed76
commit
1ad8055d28
|
@ -302,14 +302,6 @@ termio_theme_set(Evas_Object *obj, Evas_Object *theme)
|
||||||
if (theme) sd->theme = 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
|
void
|
||||||
termio_mouseover_suspend_pushpop(Evas_Object *obj, int dir)
|
termio_mouseover_suspend_pushpop(Evas_Object *obj, int dir)
|
||||||
{
|
{
|
||||||
|
|
|
@ -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);
|
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_win_set(Evas_Object *obj, Evas_Object *win);
|
||||||
void termio_theme_set(Evas_Object *obj, Evas_Object *theme);
|
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,
|
char *termio_selection_get(Evas_Object *obj,
|
||||||
int c1x, int c1y, int c2x, int c2y,
|
int c1x, int c1y, int c2x, int c2y,
|
||||||
size_t *len, Eina_Bool right_trim);
|
size_t *len, Eina_Bool right_trim);
|
||||||
|
|
|
@ -2685,7 +2685,7 @@ void change_theme(Evas_Object *win, Config *config)
|
||||||
|
|
||||||
EINA_LIST_FOREACH(terms, l, term)
|
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"))
|
if (!theme_apply(edje, config, "terminology/background"))
|
||||||
ERR("Couldn't find terminology theme!");
|
ERR("Couldn't find terminology theme!");
|
||||||
|
|
Loading…
Reference in New Issue