diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2023-03-21 19:58:53 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2023-03-21 19:58:53 +0100 |
commit | 6edcc6ed41de03a0183c07e294193b2a9ef5f7ef (patch) | |
tree | 5ff6b00cd1fa8578f473499b3d03f739f3bbe49e /src/gui/gui-buffer.c | |
parent | be64e8cddc4efc2a9a2efb2334435a79af967e81 (diff) | |
download | weechat-6edcc6ed41de03a0183c07e294193b2a9ef5f7ef.zip |
core: remove unused function gui_buffer_search_by_layout_number
Diffstat (limited to 'src/gui/gui-buffer.c')
-rw-r--r-- | src/gui/gui-buffer.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/gui/gui-buffer.c b/src/gui/gui-buffer.c index c2dbae298..f674098af 100644 --- a/src/gui/gui-buffer.c +++ b/src/gui/gui-buffer.c @@ -2901,30 +2901,6 @@ gui_buffer_search_by_number_or_name (const char *string) } /* - * Searches for a buffer by layout number. - */ - -struct t_gui_buffer * -gui_buffer_search_by_layout_number (int layout_number, - int layout_number_merge_order) -{ - struct t_gui_buffer *ptr_buffer; - - for (ptr_buffer = gui_buffers; ptr_buffer; - ptr_buffer = ptr_buffer->next_buffer) - { - if ((ptr_buffer->layout_number == layout_number) - && (ptr_buffer->layout_number_merge_order == layout_number_merge_order)) - { - return ptr_buffer; - } - } - - /* buffer not found */ - return NULL; -} - -/* * Searches a range of buffer between "number1" and "number2" (both are * included in the range). * |