[gnome-chess/chess-telepathy-networking-support-664946-rebase: 52/64] [glchess] Silence warnings on per object synchronization of GSettings



commit 8717e38c426f6a86064d12ccbe1147a6cb150f6c
Author: Chandni Verma <chandniverma2112 gmail com>
Date:   Fri Sep 21 23:36:06 2012 +0530

    [glchess] Silence warnings on per object synchronization of GSettings

 src/chess-launcher.vala              |    3 +--
 src/gnome-chess-application.vala     |    3 +--
 src/gnome-chess-channel-handler.vala |    3 +--
 3 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/src/chess-launcher.vala b/src/chess-launcher.vala
index 710aeb4..b180e44 100644
--- a/src/chess-launcher.vala
+++ b/src/chess-launcher.vala
@@ -232,8 +232,7 @@ public class ChessLauncher : Gtk.Window
         if (save_duration_timeout != 0)
             save_duration_cb ();
 
-        settings.sync ();
-        settings_common.sync ();
+        Settings.sync ();
     }
 
     private bool launcher_configure_event_cb (Gtk.Widget widget,
diff --git a/src/gnome-chess-application.vala b/src/gnome-chess-application.vala
index 9eaf421..a1f299d 100644
--- a/src/gnome-chess-application.vala
+++ b/src/gnome-chess-application.vala
@@ -312,8 +312,7 @@ public class Application : Gtk.Application
     private void quit_game ()
     {
         autosave ();
-        settings.sync ();
-        settings_common.sync ();
+        Settings.sync ();
         if (launcher != null)
         {
           launcher.destroy ();
diff --git a/src/gnome-chess-channel-handler.vala b/src/gnome-chess-channel-handler.vala
index 3b4d0c9..35cb0f5 100644
--- a/src/gnome-chess-channel-handler.vala
+++ b/src/gnome-chess-channel-handler.vala
@@ -177,8 +177,7 @@ public class HandlerApplication : Application
     /* Quits the application */
     public new void quit_game ()
     {
-        settings.sync ();
-        settings_common.sync ();
+        Settings.sync ();
     }
 
     public override void activate ()



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