[gnome-control-center] background: fix a compilation warning



commit 7b7f67fbae00e84a85507be85558f4f4cbe96c12
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Tue Apr 5 12:08:18 2011 -0400

    background: fix a compilation warning

 panels/background/cc-background-xml.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/background/cc-background-xml.c b/panels/background/cc-background-xml.c
index c5c7134..69a5713 100644
--- a/panels/background/cc-background-xml.c
+++ b/panels/background/cc-background-xml.c
@@ -486,7 +486,7 @@ cc_background_xml_load_xml (CcBackgroundXml *xml,
 	g_return_val_if_fail (CC_IS_BACKGROUND_XML (xml), FALSE);
 
 	if (g_file_test (filename, G_FILE_TEST_IS_REGULAR) == FALSE)
-		return NULL;
+		return FALSE;
 
 	return cc_background_xml_load_xml_internal (xml, filename, FALSE);
 }



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