diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tools/http_upload.c | 1 | ||||
-rw-r--r-- | src/ui/window.c | 10 | ||||
-rw-r--r-- | src/ui/window.h | 1 |
3 files changed, 0 insertions, 12 deletions
diff --git a/src/tools/http_upload.c b/src/tools/http_upload.c index 23315460..8a31b25c 100644 --- a/src/tools/http_upload.c +++ b/src/tools/http_upload.c @@ -256,7 +256,6 @@ end: msg = strdup(FALLBACK_MSG); } win_update_entry_message(upload->window, upload->put_url, msg); - //win_update_entry_theme(upload->window, upload->put_url, THEME_THEM); win_mark_received(upload->window, upload->put_url); free(msg); 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); |