about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-10-15 16:41:37 +0100
committerJames Booth <boothj5@gmail.com>2016-10-15 16:41:37 +0100
commit6ed04d87b304490e6394c94132ee4e1ab8fe1a3b (patch)
treeae2e0fcefdaad85a5a69fd9817221acb264cd147 /src
parent8cf9e0ccccb616c3fec957b5a21a17e34172fced (diff)
downloadprofani-tty-6ed04d87b304490e6394c94132ee4e1ab8fe1a3b.tar.gz
Rename win_get_string -> win_to_string
Diffstat (limited to 'src')
-rw-r--r--src/ui/ui.h2
-rw-r--r--src/ui/window.c2
-rw-r--r--src/ui/window_list.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/ui.h b/src/ui/ui.h
index 401ca8bd..26febee8 100644
--- a/src/ui/ui.h
+++ b/src/ui/ui.h
@@ -368,7 +368,7 @@ void win_show_info(ProfWin *window, PContact contact);
 void win_println(ProfWin *window, int pad, const char *const message);
 void win_vprintln_ch(ProfWin *window, char ch, const char *const message, ...);
 void win_clear(ProfWin *window);
-char* win_get_string(ProfWin *window);
+char* win_to_string(ProfWin *window);
 
 // desktop notifications
 void notifier_initialise(void);
diff --git a/src/ui/window.c b/src/ui/window.c
index 6f63976e..c5c2b9e4 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -314,7 +314,7 @@ win_get_title(ProfWin *window)
 }
 
 char*
-win_get_string(ProfWin *window)
+win_to_string(ProfWin *window)
 {
     assert(window != NULL);
 
diff --git a/src/ui/window_list.c b/src/ui/window_list.c
index 2f95ff79..6ef166d5 100644
--- a/src/ui/window_list.c
+++ b/src/ui/window_list.c
@@ -1051,7 +1051,7 @@ wins_create_summary(gboolean unread)
             GString *line = g_string_new("");
 
             int ui_index = GPOINTER_TO_INT(curr->data);
-            char *winstring = win_get_string(window);
+            char *winstring = win_to_string(window);
             if (!winstring) {
                 g_string_free(line, TRUE);
                 continue;