qulogic/libgnt

Fix more brokenness with GNT_DISABLE_DEPRECATED.
release-2.x.y
2019-06-03, Elliott Sales de Andrade
0ed43e4e8a74
Fix more brokenness with GNT_DISABLE_DEPRECATED.

Public names may be hidden, but we may still need something to use
later, even if the later field is hidden. Use the private name instead
for these hidden fields.
#include <ncurses.h>
int main()
{
int ch;
initscr();
noecho();
cbreak();
refresh();
WINDOW *win = newpad(20, 30);
box(win, 0, 0);
prefresh(win, 0, 0, 0, 0, 19, 29);
doupdate();
while ((ch = getch())) {
printw("%d ", ch);
refresh();
}
endwin();
return 0;
}