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:
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_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);
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user