Hi, I'm developing an application using gtk+-2.6, in the main_win_show event I perform many subsystems initializations. I an initialization fails I'd like to show a message using a gtk_dialog_run. The problem is that the dialog never close! Maybe the problem happens because the structure of the gtk typical startup:
..... ..... main_win=create_main_win(); gtk_widget_show(main_win); ..... gdk_threads_enter(); gtk_main(); gdk_threads_leave(); So the gtk main loop starts after showing the main window.... Any clue? Thanks -- -- Cristiano _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list