1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-10-27 20:30:13 -04:00

Rename win_get_string -> win_to_string

This commit is contained in:
James Booth 2016-10-15 16:41:37 +01:00
parent 8cf9e0cccc
commit 6ed04d87b3
4 changed files with 4 additions and 4 deletions

View File

@ -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_println(ProfWin *window, int pad, const char *const message);
void win_vprintln_ch(ProfWin *window, char ch, const char *const message, ...); void win_vprintln_ch(ProfWin *window, char ch, const char *const message, ...);
void win_clear(ProfWin *window); void win_clear(ProfWin *window);
char* win_get_string(ProfWin *window); char* win_to_string(ProfWin *window);
// desktop notifications // desktop notifications
void notifier_initialise(void); void notifier_initialise(void);

View File

@ -314,7 +314,7 @@ win_get_title(ProfWin *window)
} }
char* char*
win_get_string(ProfWin *window) win_to_string(ProfWin *window)
{ {
assert(window != NULL); assert(window != NULL);

View File

@ -1051,7 +1051,7 @@ wins_create_summary(gboolean unread)
GString *line = g_string_new(""); GString *line = g_string_new("");
int ui_index = GPOINTER_TO_INT(curr->data); int ui_index = GPOINTER_TO_INT(curr->data);
char *winstring = win_get_string(window); char *winstring = win_to_string(window);
if (!winstring) { if (!winstring) {
g_string_free(line, TRUE); g_string_free(line, TRUE);
continue; continue;

View File

@ -534,7 +534,7 @@ void win_show_info(ProfWin *window, PContact contact) {}
void win_println(ProfWin *window, int pad, const char * const message) {} 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_vprintln_ch(ProfWin *window, char ch, const char *const message, ...) {}
void win_clear(ProfWin *window) {} void win_clear(ProfWin *window) {}
char* win_get_string(ProfWin *window) char* win_to_string(ProfWin *window)
{ {
return NULL; return NULL;
} }