Re: Can anyone help me with this code?



>   In this case, I think, that you should call the gtk_exit() in
> the last existing process, not in the newly created process - I'd rather
> finish it in regular way. (exit()). When you call gtk_exit(), it should
> deallocate all the resources used by gtk, and probably also close
> connections between the gtk program and X server.

You should call _exit (); rather than exit (), as calling exit() runs the
gtk atexit
functions and closes gtk.

iain





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