[gtk/matthiasc/for-master: 3/5] cssvalue: Cosmetic change
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master: 3/5] cssvalue: Cosmetic change
- Date: Wed, 3 Feb 2021 16:59:49 +0000 (UTC)
commit c17d52e75cb018d5a572b58ac1e05da4369dfc28
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Feb 3 11:56:19 2021 -0500
cssvalue: Cosmetic change
Don't return FALSE from pointer-returning functions.
gtk/gtkcssvalue.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkcssvalue.c b/gtk/gtkcssvalue.c
index dddfce8c40..b0c32c8e82 100644
--- a/gtk/gtkcssvalue.c
+++ b/gtk/gtkcssvalue.c
@@ -260,8 +260,8 @@ _gtk_css_value_transition (GtkCssValue *start,
guint property_id,
double progress)
{
- gtk_internal_return_val_if_fail (start != NULL, FALSE);
- gtk_internal_return_val_if_fail (end != NULL, FALSE);
+ gtk_internal_return_val_if_fail (start != NULL, NULL);
+ gtk_internal_return_val_if_fail (end != NULL, NULL);
if (start->class != end->class)
return NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]