[gnome-settings-daemon/wip/xsettings-manager: 14/16] xsettings: logic tweak



commit 47cbdffcbb356913ae99eeededc22d3df4fbea5f
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]