summaryrefslogtreecommitdiff
path: root/src/gui/gui-common.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2007-05-11 14:59:12 +0000
committerSebastien Helleu <flashcode@flashtux.org>2007-05-11 14:59:12 +0000
commitbee62989f622d6bc8785207f47cff68edb196d14 (patch)
tree175df1f7f8fcae5aa21b8a96e9736009c0ee31b5 /src/gui/gui-common.c
parent7579529d94514dd2c98815017e1344008f766d53 (diff)
downloadweechat-bee62989f622d6bc8785207f47cff68edb196d14.zip
Code cleanup: renamed IRC functions to have uniform name (with prefix based on source name), moved some functions
Diffstat (limited to 'src/gui/gui-common.c')
-rw-r--r--src/gui/gui-common.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/gui-common.c b/src/gui/gui-common.c
index f7b6cba80..60ccfcebb 100644
--- a/src/gui/gui-common.c
+++ b/src/gui/gui-common.c
@@ -672,7 +672,7 @@ gui_exec_action_dcc (t_gui_window *window, char *actions)
&& (DCC_IS_RECV(dcc_selected->status))
&& (dcc_selected->status == DCC_WAITING))
{
- dcc_accept (dcc_selected);
+ irc_dcc_accept (dcc_selected);
}
break;
/* cancel DCC */
@@ -681,7 +681,7 @@ gui_exec_action_dcc (t_gui_window *window, char *actions)
if (dcc_selected
&& (!DCC_ENDED(dcc_selected->status)))
{
- dcc_close (dcc_selected, DCC_ABORTED);
+ irc_dcc_close (dcc_selected, DCC_ABORTED);
gui_window_redraw_buffer (window->buffer);
}
break;
@@ -696,7 +696,7 @@ gui_exec_action_dcc (t_gui_window *window, char *actions)
{
ptr_dcc_next = ptr_dcc->next_dcc;
if (DCC_ENDED(ptr_dcc->status))
- dcc_free (ptr_dcc);
+ irc_dcc_free (ptr_dcc);
ptr_dcc = ptr_dcc_next;
}
gui_window_redraw_buffer (window->buffer);
@@ -731,7 +731,7 @@ gui_exec_action_dcc (t_gui_window *window, char *actions)
window->dcc_selected = dcc_selected->next_dcc;
else
window->dcc_selected = NULL;
- dcc_free (dcc_selected);
+ irc_dcc_free (dcc_selected);
gui_window_redraw_buffer (window->buffer);
}
break;