[gnome-settings-daemon] xsettings: logic tweak



commit 990ad07ce612f4deb1106ecda4c328edf1208e40
Author: Ryan Lortie <desrt desrt ca>
Date:   Wed Mar 7 23:59:37 2012 -0500

    xsettings: logic tweak

 plugins/xsettings/xsettings-manager.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/plugins/xsettings/xsettings-manager.c b/plugins/xsettings/xsettings-manager.c
index 1b871d5..ce225ff 100644
--- a/plugins/xsettings/xsettings-manager.c
+++ b/plugins/xsettings/xsettings-manager.c
@@ -217,10 +217,10 @@ xsettings_manager_set_setting (XSettingsManager *manager,
     }
 
   if (xsettings_setting_equal (setting, value))
-    return;
-
-  xsettings_setting_set (setting, value);
-  setting->last_change_serial = manager->serial;
+    {
+      xsettings_setting_set (setting, value);
+      setting->last_change_serial = manager->serial;
+    }
 }
 
 void



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