Mohit Kumar wrote:
Thanks for the help Viraj.
I understood my error. Along with that I should also not call
gtk_main() while doing a gtk_dialog_run().
Not exactly, it would be fine if you had launched your
dialog while running gtk_main() (i.e. from a callback).
A "sure you wanna quit?" dialog would work fine like that.
Cheers,
-Tristan
Note: I just wanted to note that nested main loops with dialogs
is standard practice.
_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list