[gdm] daemon: fix gdm_settings_direct_get_string



commit 9e50c1457713aab3f6341d165b0e600a0938f4ec
Author: Ray Strode <rstrode redhat com>
Date:   Wed Jul 13 12:49:24 2011 -0400

    daemon: fix gdm_settings_direct_get_string
    
    It was failing when pulling from defaults before.
    
    This fixes XDMCP for people who don't manually
    set the string options.

 common/gdm-settings-direct.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/common/gdm-settings-direct.c b/common/gdm-settings-direct.c
index a90eed2..b1b66fb 100644
--- a/common/gdm-settings-direct.c
+++ b/common/gdm-settings-direct.c
@@ -190,7 +190,7 @@ gdm_settings_direct_get_string (const char        *key,
 
         assert_signature (entry, "s");
 
-        ret = FALSE;
+        ret = TRUE;
 
         res = get_value (key, &str);
 



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