X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmaemo%2Fmodest-osso-state-saving.c;h=03a8f15fc43ee944d8faaab409abb08273bcc30d;hb=7e8affe064c573d8b15b7bf6e3d50efc3bf285cb;hp=076c78d7e186cc1d062169c75823d129bfda2c1f;hpb=0f867d147ccfb5326b9d4331dc54586591071c60;p=modest diff --git a/src/maemo/modest-osso-state-saving.c b/src/maemo/modest-osso-state-saving.c index 076c78d..03a8f15 100644 --- a/src/maemo/modest-osso-state-saving.c +++ b/src/maemo/modest-osso-state-saving.c @@ -29,6 +29,7 @@ #include +#include "modest-runtime.h" #include void modest_osso_load_state() @@ -40,7 +41,9 @@ void modest_osso_load_state() void modest_osso_save_state() { /* We don't need to call osso_state_write() - * - we use our general widget-state-saving technique instead. */ + * - we use our general widget-state-saving technique instead: */ + modest_window_mgr_save_state_for_all_windows( + modest_runtime_get_window_mgr ()); }