mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Rename win_get_string -> win_to_string
This commit is contained in:
parent
8cf9e0cccc
commit
6ed04d87b3
@ -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);
|
||||
|
@ -314,7 +314,7 @@ win_get_title(ProfWin *window)
|
||||
}
|
||||
|
||||
char*
|
||||
win_get_string(ProfWin *window)
|
||||
win_to_string(ProfWin *window)
|
||||
{
|
||||
assert(window != NULL);
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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_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)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user