mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-23 22:16:16 +01:00
GApplication: g_settings_sync() on exit
Call g_settings_sync() just before g_applcation_run() returns. This is really the correct thing to do in every case that you're using GSettings and it prevents every single application from having to do it for themselves. Closes bug #647419.
This commit is contained in:
parent
68aef33404
commit
ff57ed5d6a
@ -1329,6 +1329,8 @@ g_application_run (GApplication *application,
|
||||
if (application->priv->impl)
|
||||
g_application_impl_flush (application->priv->impl);
|
||||
|
||||
g_settings_sync ();
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user