mirror of
https://github.com/profanity-im/profanity.git
synced 2024-10-27 20:30:13 -04:00
Removed ui_swap_wins
This commit is contained in:
parent
df5b93987f
commit
bcd19c6d16
@ -875,7 +875,7 @@ cmd_wins(ProfWin *window, const char *const command, gchar **args)
|
|||||||
} else if (source_win == 10 || target_win == 10) {
|
} else if (source_win == 10 || target_win == 10) {
|
||||||
cons_show("Window 10 does not exist");
|
cons_show("Window 10 does not exist");
|
||||||
} else if (source_win != target_win) {
|
} else if (source_win != target_win) {
|
||||||
gboolean swapped = ui_swap_wins(source_win, target_win);
|
gboolean swapped = wins_swap(source_win, target_win);
|
||||||
if (swapped) {
|
if (swapped) {
|
||||||
cons_show("Swapped windows %d <-> %d", source_win, target_win);
|
cons_show("Swapped windows %d <-> %d", source_win, target_win);
|
||||||
} else {
|
} else {
|
||||||
|
@ -751,12 +751,6 @@ ui_prune_wins(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
gboolean
|
|
||||||
ui_swap_wins(int source_win, int target_win)
|
|
||||||
{
|
|
||||||
return wins_swap(source_win, target_win);
|
|
||||||
}
|
|
||||||
|
|
||||||
win_type_t
|
win_type_t
|
||||||
ui_win_type(int index)
|
ui_win_type(int index)
|
||||||
{
|
{
|
||||||
|
@ -127,7 +127,6 @@ void ui_handle_software_version_error(const char *const roomjid, const char *con
|
|||||||
void ui_show_software_version(const char *const jid, const char *const presence, const char *const name,
|
void ui_show_software_version(const char *const jid, const char *const presence, const char *const name,
|
||||||
const char *const version, const char *const os);
|
const char *const version, const char *const os);
|
||||||
void ui_prune_wins(void);
|
void ui_prune_wins(void);
|
||||||
gboolean ui_swap_wins(int source_win, int target_win);
|
|
||||||
void ui_clear_win(ProfWin *window);
|
void ui_clear_win(ProfWin *window);
|
||||||
void ui_auto_away(char *message, gint time, resource_presence_t res_presence);
|
void ui_auto_away(char *message, gint time, resource_presence_t res_presence);
|
||||||
void ui_handle_login_account_success(ProfAccount *account, int secured);
|
void ui_handle_login_account_success(ProfAccount *account, int secured);
|
||||||
|
@ -280,10 +280,6 @@ void ui_show_all_room_rosters(void) {}
|
|||||||
void ui_hide_all_room_rosters(void) {}
|
void ui_hide_all_room_rosters(void) {}
|
||||||
|
|
||||||
void ui_prune_wins(void) {}
|
void ui_prune_wins(void) {}
|
||||||
gboolean ui_swap_wins(int source_win, int target_win)
|
|
||||||
{
|
|
||||||
return FALSE;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ui_handle_login_account_success(ProfAccount *account, int secured) {}
|
void ui_handle_login_account_success(ProfAccount *account, int secured) {}
|
||||||
void ui_update_presence(const resource_presence_t resource_presence,
|
void ui_update_presence(const resource_presence_t resource_presence,
|
||||||
|
Loading…
Reference in New Issue
Block a user