Package: gconf / 3.2.6-3

02_fix_wrong_return_value.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description: fix wrong return value
Bug: http://bugzilla.gnome.org/show_bug.cgi?id=582865
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532119

--- a/gconf/gconf-client.c
+++ b/gconf/gconf-client.c
@@ -2373,7 +2373,7 @@ gconf_client_lookup (GConfClient *client
       {
         g_free (dir);
         trace ("Negative cache hit on %s", key);
-        return TRUE;
+        return FALSE;
       }
     else 
       {
@@ -2389,7 +2389,7 @@ gconf_client_lookup (GConfClient *client
               {
                 g_free (dir);
                 trace ("Non-existing dir for %s", key);
-                return TRUE;
+                return FALSE;
               }
             not_cached = TRUE;
           }