catch logout/SIGHUP

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

 



hi,

i wonder what is the right procedure to do some cleanup if the user logout from session
and the program is still alive. ("Save file before exit" etc)

I thought "system (SIGHUP,...)" is the right way, but i didnt find this function in code from gedit, anjuta etc.. so what is the right way to do this ?

thanks jochen




_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux