[gnome-screensaver] Only emit changed signal when something changes



commit a518aa2f950d00ddec930b0fefe8a61d6ead29e1
Author: William Jon McCann <jmccann redhat com>
Date:   Thu Mar 17 00:38:29 2011 -0400

    Only emit changed signal when something changes

 src/gs-prefs.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-prefs.c b/src/gs-prefs.c
index f70b4ba..4afe054 100644
--- a/src/gs-prefs.c
+++ b/src/gs-prefs.c
@@ -387,6 +387,7 @@ key_changed_cb (GSettings   *settings,
 
         } else {
                 g_warning ("Config key not handled: %s", key);
+                return;
         }
 
         g_signal_emit (prefs, signals [CHANGED], 0);



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