about summary refs log tree commit diff stats
path: root/src/ui/core.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-06-15 20:39:17 +0100
committerJames Booth <boothj5@gmail.com>2015-06-15 20:39:17 +0100
commitc76692516a65af35249e93071a6478fd9d799fff (patch)
tree33cc0f7c7ec700e86a4ee81a2588ff8ba06ad60f /src/ui/core.c
parentb52de6869a2d22426eb77ae62c17514fb8520308 (diff)
parent5cdd69f478e6bbd4b8b0ca03daab56e6206c3ab2 (diff)
downloadprofani-tty-c76692516a65af35249e93071a6478fd9d799fff.tar.gz
Merge branch 'master' into openpgp
Diffstat (limited to 'src/ui/core.c')
-rw-r--r--src/ui/core.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/ui/core.c b/src/ui/core.c
index 3b29c094..127405f6 100644
--- a/src/ui/core.c
+++ b/src/ui/core.c
@@ -72,7 +72,7 @@
 #include "ui/statusbar.h"
 #include "ui/inputwin.h"
 #include "ui/window.h"
-#include "ui/windows.h"
+#include "window_list.h"
 #include "xmpp/xmpp.h"
 #include "event/ui_events.h"
 
@@ -1083,12 +1083,6 @@ ui_untrust(const char * const barejid)
 }
 
 void
-ui_clear_current(void)
-{
-    wins_clear_current();
-}
-
-void
 ui_close_win(int index)
 {
     ProfWin *window = wins_get_by_num(index);
@@ -2223,6 +2217,12 @@ ui_clear_win_title(void)
 }
 
 void
+ui_clear_win(ProfWin *window)
+{
+    win_clear(window);
+}
+
+void
 ui_goodbye_title(void)
 {
     int result = system("/bin/echo -ne \"\033]0;Thanks for using Profanity\007\"");