mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-24 18:36:21 +00:00
Refactored 'ui_tidy_wins()' to return bool and not output text, Corrected underline, removed call to function 'wins_resize_all()'.
This commit is contained in:
@@ -1105,16 +1105,10 @@ ui_close_win(int index)
|
||||
status_bar_active(1);
|
||||
}
|
||||
|
||||
void
|
||||
gboolean
|
||||
ui_tidy_wins(void)
|
||||
{
|
||||
gboolean tidied = wins_tidy();
|
||||
|
||||
if (tidied) {
|
||||
cons_show("Windows tidied.");
|
||||
} else {
|
||||
cons_show("No tidy needed.");
|
||||
}
|
||||
return wins_tidy();
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
@@ -216,7 +216,7 @@ void ui_show_all_room_rosters(void);
|
||||
void ui_hide_all_room_rosters(void);
|
||||
gboolean ui_chat_win_exists(const char * const barejid);
|
||||
|
||||
void ui_tidy_wins(void);
|
||||
gboolean ui_tidy_wins(void);
|
||||
void ui_prune_wins(void);
|
||||
gboolean ui_swap_wins(int source_win, int target_win);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user