projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68aef33
)
GApplication: g_settings_sync() on exit
author
Ryan Lortie
<desrt@desrt.ca>
Mon, 11 Apr 2011 07:30:24 +0000
(
03:30
-0400)
committer
Ryan Lortie
<desrt@desrt.ca>
Mon, 11 Apr 2011 07:41:10 +0000
(
03:41
-0400)
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.
gio/gapplication.c
patch
|
blob
|
history
diff --git
a/gio/gapplication.c
b/gio/gapplication.c
index c37c3db6500e76701a0d453af3ecd1f690bf8bb9..ee6cbe9c40762ad6d58aa16c8ab32c76b7d2d313 100644
(file)
--- a/
gio/gapplication.c
+++ b/
gio/gapplication.c
@@
-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;
}