about summary refs log tree commit diff stats
path: root/src/ui
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-11-24 00:09:14 +0000
committerJames Booth <boothj5@gmail.com>2016-11-24 00:09:14 +0000
commitb64646979ea50a13d0c7ec0b1a46969f661569a8 (patch)
tree5b4ac9577c1a43f66de989bbacaced16013dc5dd /src/ui
parent926d935e26c3dddd193d3ca70645c512ebc7fe60 (diff)
downloadprofani-tty-b64646979ea50a13d0c7ec0b1a46969f661569a8.tar.gz
Remove unused function
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/window.c10
-rw-r--r--src/ui/window.h1
2 files changed, 0 insertions, 11 deletions
diff --git a/src/ui/window.c b/src/ui/window.c
index 1a7dc6bd..a000f1aa 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -1280,16 +1280,6 @@ win_update_entry_message(ProfWin *window, const char *const id, const char *cons
 }
 
 void
-win_update_entry_theme(ProfWin *window, const char *const id, theme_item_t theme_item)
-{
-    ProfBuffEntry *entry = buffer_get_entry_by_id(window->layout->buffer, id);
-    if (entry) {
-        entry->theme_item = theme_item;
-        win_redraw(window);
-    }
-}
-
-void
 win_newline(ProfWin *window)
 {
     win_appendln(window, THEME_DEFAULT, "");
diff --git a/src/ui/window.h b/src/ui/window.h
index e29cd62f..21c9154a 100644
--- a/src/ui/window.h
+++ b/src/ui/window.h
@@ -82,7 +82,6 @@ void win_sub_print(WINDOW *win, char *msg, gboolean newline, gboolean wrap, int
 void win_sub_newline_lazy(WINDOW *win);
 void win_mark_received(ProfWin *window, const char *const id);
 void win_update_entry_message(ProfWin *window, const char *const id, const char *const message);
-void win_update_entry_theme(ProfWin *window, const char *const id, theme_item_t theme_item);
 
 gboolean win_has_active_subwin(ProfWin *window);