Change make_invisible_and_set_new_height to be a method
authorTom Tromey <tom@tromey.com>
Tue, 2 Jul 2019 23:05:49 +0000 (17:05 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 17 Jul 2019 18:19:24 +0000 (12:19 -0600)
commitdaa15dde7202d948da694bdfe0df9e5294c7ee9a
tree201e8bcc0d1d1d61da24f9a1ef66e4232813a09d
parentbfad4537079109d9c41ecd86af9cf84b6825a192
Change make_invisible_and_set_new_height to be a method

This changes make_invisible_and_set_new_height to be a method on
tui_win_info.  I felt that this was cleaner.

gdb/ChangeLog
2019-07-17  Tom Tromey  <tom@tromey.com>

* tui/tui-win.c (tui_resize_all)
(tui_source_window_base::update_tab_width)
(tui_adjust_win_heights): Update.
(tui_win_info::make_invisible_and_set_new_height): Rename from
make_invisible_and_set_new_height.
* tui/tui-data.h (struct tui_win_info)
<make_invisible_and_set_new_height>: New method.
gdb/ChangeLog
gdb/tui/tui-data.h
gdb/tui/tui-win.c