changeset 10507:05081f488da1

[gaim-migrate @ 11801] this makes more sense to me committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Wed, 12 Jan 2005 05:22:46 +0000
parents 4f67724c207c
children 4cc999cc6718
files src/status.c
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/status.c	Wed Jan 12 03:41:29 2005 +0000
+++ b/src/status.c	Wed Jan 12 05:22:46 2005 +0000
@@ -1011,11 +1011,11 @@
 {
 	const GaimValue *value;
 
-	g_return_val_if_fail(status != NULL, FALSE);
-	g_return_val_if_fail(id     != NULL, FALSE);
+	g_return_val_if_fail(status != NULL, 0);
+	g_return_val_if_fail(id     != NULL, 0);
 
 	if ((value = gaim_status_get_attr_value(status, id)) == NULL)
-		return FALSE;
+		return 0;
 
 	g_return_val_if_fail(gaim_value_get_type(value) == GAIM_TYPE_INT, 0);
 
@@ -1027,8 +1027,8 @@
 {
 	const GaimValue *value;
 
-	g_return_val_if_fail(status != NULL, FALSE);
-	g_return_val_if_fail(id     != NULL, FALSE);
+	g_return_val_if_fail(status != NULL, NULL);
+	g_return_val_if_fail(id     != NULL, NULL);
 
 	if ((value = gaim_status_get_attr_value(status, id)) == NULL)
 		return NULL;