[maemo-developers] replacement for osso_application_set_exit_cb ?

From: Eero Tamminen eero.tamminen at nokia.com
Date: Tue May 29 15:10:28 EEST 2007
Hi,

ext Kimmo Hämäläinen wrote:
>> osso_application_set_exit_cb is now deprecated but i can't find any
>> similar function that does that.
>>
>> Can anyone please tell me what is it now?
> 
> You simply die when receiving the POSIX TERM signal. If you support UI
> state saving, then you should save your UI state when ever you are moved
> to the background (so that you are ready to be terminated with the TERM
> signal). More information about state saving is available on the
> libosso.h header file.

If I remember right, app should handle TERM signal to call exit() so
that Gtk atexit() handler will push the clipboard contents to the
clipboard manager.


	- Eero

More information about the maemo-developers mailing list