[gtk+] Don't return FALSE from a non-boolean function
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Don't return FALSE from a non-boolean function
- Date: Wed, 27 Mar 2013 03:30:36 +0000 (UTC)
commit bdfd0d46380cc086a9e81d3de985a20e2f1c7a82
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Mar 26 23:30:10 2013 -0400
Don't return FALSE from a non-boolean function
https://bugzilla.gnome.org/show_bug.cgi?id=696608
gtk/gtkcssstylepropertyimpl.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcssstylepropertyimpl.c b/gtk/gtkcssstylepropertyimpl.c
index 26726d7..ea3cb36 100644
--- a/gtk/gtkcssstylepropertyimpl.c
+++ b/gtk/gtkcssstylepropertyimpl.c
@@ -583,7 +583,7 @@ css_image_value_parse (GtkCssStyleProperty *property,
{
image = _gtk_css_image_new_parse (parser);
if (image == NULL)
- return FALSE;
+ return NULL;
}
return _gtk_css_image_value_new (image);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]