Hi
I’m trying to revive an old GTK2/OpenGL app.
I have a somewhat different main loop because of the OpenGL stuff:
main(){
…
//loading glade file and connect signals
…
gtk_widget_show_all(window1);
bMainRunning = TRUE;
while(bMainRunning){
while(gtk_events_pending()){
gtk_main_iteration();
}
render(twing);
}
shutdown();
return 0;
}
The problem is that the window never shows, and it never reaches the while loop, but otherwise the program seems to be running.
As I said is an old program but its linked against gtk2 and used to work.
Anyone know what else I can do?