dlg_resize_cb() only used in dialog_change_screen_size()
but if defined TIOCGWINSZ.
#
# /* Inform all running dialogs */
# g_list_foreach (top_dlg, (GFunc) dlg_resize_cb, NULL);
#
# /* Now, force the redraw */
lib/widget/dialog-switch.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/lib/widget/dialog-switch.c b/lib/widget/dialog-switch.c
index 6876c84..c1b3789 100644
a
|
b
|
dialog_switch_goto (GList * dlg) |
94 | 94 | |
95 | 95 | /* --------------------------------------------------------------------------------------------- */ |
96 | 96 | |
| 97 | #if defined TIOCGWINSZ |
97 | 98 | static void |
98 | 99 | dlg_resize_cb (void *data, void *user_data) |
99 | 100 | { |
… |
… |
dlg_resize_cb (void *data, void *user_data) |
102 | 103 | (void) user_data; |
103 | 104 | d->callback (d, NULL, DLG_RESIZE, 0, NULL); |
104 | 105 | } |
| 106 | #endif |
105 | 107 | |
106 | 108 | /* --------------------------------------------------------------------------------------------- */ |
107 | 109 | /*** public functions ****************************************************************************/ |