Re: SIGSEGV in gtk_main_quit()



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.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]