[gnome-settings-daemon] Make change notification work



commit 9314fdfc587391f552555402999ec422e2b184e0
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Nov 2 20:14:59 2010 -0400

    Make change notification work
    
    There was a typo that caused us to only connect to the first settings
    object.

 plugins/xsettings/gsd-xsettings-manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/xsettings/gsd-xsettings-manager.c b/plugins/xsettings/gsd-xsettings-manager.c
index 5ddaf9c..10f4d44 100644
--- a/plugins/xsettings/gsd-xsettings-manager.c
+++ b/plugins/xsettings/gsd-xsettings-manager.c
@@ -701,7 +701,7 @@ gnome_xsettings_manager_start (GnomeXSettingsManager *manager,
         }
 
         list = g_hash_table_get_values (manager->priv->settings);
-        for (l = list; list != NULL; list = list->next) {
+        for (l = list; l != NULL; l = l->next) {
                 g_signal_connect (G_OBJECT (l->data), "changed",
                                   G_CALLBACK (xsettings_callback), manager);
         }



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