[libgdata/libgdata-0-6] core: Fix a return type



commit 37b22b639357aacd50716163ee2667f9f02af9e9
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 008e57d..8b5c903 100644
--- a/gdata/gdata-parsable.c
+++ b/gdata/gdata-parsable.c
@@ -215,7 +215,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]