[gnote] Fix a bug where we'd mistakenly get other gconf notifications.



commit 74b4e3780e6bc52a69afc6c1c84d4affff0131a7
Author: Hubert Figuiere <hub figuiere net>
Date:   Sat Jun 13 22:01:56 2009 -0400

    Fix a bug where we'd mistakenly get other gconf notifications.
    Was hidden by bug 582789.

 src/watchers.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/watchers.cpp b/src/watchers.cpp
index 176ac14..a5c0095 100644
--- a/src/watchers.cpp
+++ b/src/watchers.cpp
@@ -976,7 +976,7 @@ namespace gnote {
   {
     const char * key = gconf_entry_get_key(entry);
     
-    if (strcmp(key, Preferences::ENABLE_WIKIWORDS) == 0) {
+    if (strcmp(key, Preferences::ENABLE_WIKIWORDS) != 0) {
       return;
     }
     GConfValue * value = gconf_entry_get_value(entry);



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