summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2015-06-11 22:28:20 +0200
committerBoris Faure <billiob@gmail.com>2015-06-11 22:29:53 +0200
commit1ad8055d286c1ca5f5f0b74accf90a4aebcb7a4b (patch)
tree8361423960808b0b4d2bceb18fe3b3f79e458187 /src
parent5d6544ed7689c9b7988d373502ff46f97220b080 (diff)
remove useless termio_theme_get()
Diffstat (limited to 'src')
-rw-r--r--src/bin/termio.c8
-rw-r--r--src/bin/termio.h1
-rw-r--r--src/bin/win.c2
3 files changed, 1 insertions, 10 deletions
diff --git a/src/bin/termio.c b/src/bin/termio.c
index b44e01c..f924a5b 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -302,14 +302,6 @@ termio_theme_set(Evas_Object *obj, Evas_Object *theme)
302 if (theme) sd->theme = theme; 302 if (theme) sd->theme = theme;
303} 303}
304 304
305Evas_Object *
306termio_theme_get(Evas_Object *obj)
307{
308 Termio *sd = evas_object_smart_data_get(obj);
309 EINA_SAFETY_ON_NULL_RETURN_VAL(sd, NULL);
310 return sd->theme;
311}
312
313void 305void
314termio_mouseover_suspend_pushpop(Evas_Object *obj, int dir) 306termio_mouseover_suspend_pushpop(Evas_Object *obj, int dir)
315{ 307{
diff --git a/src/bin/termio.h b/src/bin/termio.h
index 56dfeb7..f01118f 100644
--- a/src/bin/termio.h
+++ b/src/bin/termio.h
@@ -10,7 +10,6 @@
10Evas_Object *termio_add(Evas_Object *parent, Config *config, const char *cmd, Eina_Bool login_shell, const char *cd, int w, int h, Term *term); 10Evas_Object *termio_add(Evas_Object *parent, Config *config, const char *cmd, Eina_Bool login_shell, const char *cd, int w, int h, Term *term);
11void termio_win_set(Evas_Object *obj, Evas_Object *win); 11void termio_win_set(Evas_Object *obj, Evas_Object *win);
12void termio_theme_set(Evas_Object *obj, Evas_Object *theme); 12void termio_theme_set(Evas_Object *obj, Evas_Object *theme);
13Evas_Object *termio_theme_get(Evas_Object *obj);
14char *termio_selection_get(Evas_Object *obj, 13char *termio_selection_get(Evas_Object *obj,
15 int c1x, int c1y, int c2x, int c2y, 14 int c1x, int c1y, int c2x, int c2y,
16 size_t *len, Eina_Bool right_trim); 15 size_t *len, Eina_Bool right_trim);
diff --git a/src/bin/win.c b/src/bin/win.c
index 6a99c6e..8b6b5c9 100644
--- a/src/bin/win.c
+++ b/src/bin/win.c
@@ -2685,7 +2685,7 @@ void change_theme(Evas_Object *win, Config *config)
2685 2685
2686 EINA_LIST_FOREACH(terms, l, term) 2686 EINA_LIST_FOREACH(terms, l, term)
2687 { 2687 {
2688 Evas_Object *edje = termio_theme_get(term->termio); 2688 Evas_Object *edje = term->bg;
2689 2689
2690 if (!theme_apply(edje, config, "terminology/background")) 2690 if (!theme_apply(edje, config, "terminology/background"))
2691 ERR("Couldn't find terminology theme!"); 2691 ERR("Couldn't find terminology theme!");