qulogic/libgnt

e92f56c72c59
Port Finch away from deprecated g_type_class_add_private()

This patch ports Finch away from the deprecated
g_type_class_add_private() function in favor of the
G_DEFINE_TYPE_WITH_PRIVATE() macro.
#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;
}