[libgdata] [core] Fix a return type



commit e82a65cc3e5c224f423c1f4ed0d135fbc721326b
Author: Philip Withnall <philip tecnocode co uk>
Date:   Thu Jul 8 21:38:09 2010 +0100

    [core] Fix a return type

 gdata/gdata-parsable.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdata/gdata-parsable.c b/gdata/gdata-parsable.c
index 261c021..87a3bfb 100644
--- a/gdata/gdata-parsable.c
+++ b/gdata/gdata-parsable.c
@@ -221,7 +221,7 @@ _gdata_parsable_new_from_xml_node (GType parsable_type, xmlDoc *doc, xmlNode *no
 
 	klass = GDATA_PARSABLE_GET_CLASS (parsable);
 	if (klass->parse_xml == NULL)
-		return FALSE;
+		return NULL;
 
 	g_assert (klass->element_name != NULL);
 	/* TODO: See gdata-documents-entry.c:260 for an example of where the code below doesn't work */



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