diff options
author | Tom Tromey <tom@tromey.com> | 2019-06-17 21:11:56 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-06-25 07:48:43 -0600 |
commit | 5fcee43a960f0735c53a7c24823b2e4bc1460b9f (patch) | |
tree | 0d7da0fd71177323352c4eac6630a06556653f19 /intl/bindtextdom.c | |
parent | d83f1fe65da075aa08ac7d6b6ef3508587c94600 (diff) | |
download | gdb-5fcee43a960f0735c53a7c24823b2e4bc1460b9f.zip gdb-5fcee43a960f0735c53a7c24823b2e4bc1460b9f.tar.gz gdb-5fcee43a960f0735c53a7c24823b2e4bc1460b9f.tar.bz2 |
Introduce tui_win_info::make_visible_with_new_height
This changes make_visible_with_new_height to be a method on
tui_win_info, letting us remove a spot that checks the window type.
gdb/ChangeLog
2019-06-25 Tom Tromey <tom@tromey.com>
* tui/tui-win.c (tui_source_window_base::update_tab_width): Call
make_visible_with_new_height method.
(tui_win_info::make_visible_with_new_height): New method.
(tui_source_window_base::do_make_visible_with_new_height)
(tui_data_window::do_make_visible_with_new_height)
(tui_cmd_window::do_make_visible_with_new_height): New methods.
(make_visible_with_new_height): Remove.
(tui_resize_all, tui_adjust_win_heights): Use
make_visible_with_new_height method.
* tui/tui-data.h (struct tui_win_info)
<do_make_visible_with_new_height, make_visible_with_new_height>:
New methods.
(struct tui_source_window_base, struct tui_data_window)
(struct tui_cmd_window) <do_make_visible_with_new_height>: New
methods.
Diffstat (limited to 'intl/bindtextdom.c')
0 files changed, 0 insertions, 0 deletions