[gcalctool] Call gsettings_sync() before quit



commit 0f18aa1201c5a3284d2e632c52588ac21327dd50
Author: Robert Ancell <robert ancell gmail com>
Date:   Thu Jul 8 13:31:26 2010 +1000

    Call gsettings_sync() before quit

 NEWS            |    4 ++++
 src/gcalctool.c |    1 +
 2 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/NEWS b/NEWS
index 432e56d..20335ac 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,10 @@
  *  All Rights Reserved.
  */
  
+Overview of changes in gcalctool 5.31.5
+
+    * Call gsettings_sync() before quit
+ 
 Overview of changes in gcalctool 5.31.4
 
     * Show currency conversion below display
diff --git a/src/gcalctool.c b/src/gcalctool.c
index 9eaa77e..bc2f6ba 100644
--- a/src/gcalctool.c
+++ b/src/gcalctool.c
@@ -193,6 +193,7 @@ quit_cb(MathWindow *window)
     g_settings_set_enum(settings, "button-mode", math_buttons_get_mode(buttons));
     g_settings_set_string(settings, "source-currency", math_equation_get_source_currency(equation));
     g_settings_set_string(settings, "target-currency", math_equation_get_target_currency(equation));
+    g_settings_sync();
 
     currency_free_resources();
     gtk_main_quit();



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