[dconf] Bug 599808 - dconf list crashes



commit 05a697dfa90dfbebbb56a7ea89cc53d887fcfb5d
Author: Ryan Lortie <desrt desrt ca>
Date:   Tue Oct 27 13:39:36 2009 -0400

    Bug 599808 -  dconf list crashes
    
    - don't crash when we have zero list results

 bin/dconf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/bin/dconf.c b/bin/dconf.c
index dacc0a8..b053a94 100644
--- a/bin/dconf.c
+++ b/bin/dconf.c
@@ -219,7 +219,7 @@ list (gint           argc,
 
   g_strfreev (list);
 
-  return i > 0;
+  return TRUE;
 }
 
 static gboolean



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