[at-spi2-core] Ensure variable is initialized



commit 68fd6e91ede321beb0e08bc98261938e56656a36
Author: Frederic Crozat <fcrozat novell com>
Date:   Tue Feb 1 17:06:39 2011 +0100

    Ensure variable is initialized
    
    https://bugzilla.gnome.org/show_bug.cgi?id=641164

 registryd/registry-main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/registryd/registry-main.c b/registryd/registry-main.c
index e41a812..720cd52 100644
--- a/registryd/registry-main.c
+++ b/registryd/registry-main.c
@@ -367,7 +367,7 @@ need_to_quit ()
       gconf_client_get_bool = dlsym (gconf, "gconf_client_get_bool");
   }
 
-  if (!gconf_client || !gconf_client_get_bool)
+  if (!gconf_client_get_default || !gconf_client_get_bool)
     {
       if (gconf)
         dlclose (gconf);



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