diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-11-27 17:05:59 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-11-27 17:05:59 +0100 |
commit | 3c51c0e7c484d2c3efa72e5373ce7fb81de8d4db (patch) | |
tree | 3adaea1fa3c98278e43d8025a233d245c95b6c1a /src/plugins/xfer | |
parent | aa77b482adce234207d9954850df0f6da6d61711 (diff) | |
download | weechat-3c51c0e7c484d2c3efa72e5373ce7fb81de8d4db.zip |
Remove argument "switch_to_another" for function gui_buffer_close()
Diffstat (limited to 'src/plugins/xfer')
-rw-r--r-- | src/plugins/xfer/xfer-buffer.c | 2 | ||||
-rw-r--r-- | src/plugins/xfer/xfer.c | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/plugins/xfer/xfer-buffer.c b/src/plugins/xfer/xfer-buffer.c index fbac50de6..6a3ba6db1 100644 --- a/src/plugins/xfer/xfer-buffer.c +++ b/src/plugins/xfer/xfer-buffer.c @@ -299,7 +299,7 @@ xfer_buffer_input_cb (void *data, struct t_gui_buffer *buffer, /* quit xfer buffer (close it) */ else if (weechat_strcasecmp (input_data, "q") == 0) { - weechat_buffer_close (buffer, 1); + weechat_buffer_close (buffer); } /* remove xfer */ else if (weechat_strcasecmp (input_data, "r") == 0) diff --git a/src/plugins/xfer/xfer.c b/src/plugins/xfer/xfer.c index 14856c3d4..0c9e69694 100644 --- a/src/plugins/xfer/xfer.c +++ b/src/plugins/xfer/xfer.c @@ -609,9 +609,7 @@ xfer_free (struct t_xfer *xfer) return; if (xfer->buffer) - { - weechat_buffer_close (xfer->buffer, 1); - } + weechat_buffer_close (xfer->buffer); /* remove xfer from list */ if (last_xfer == xfer) |