[gtk+] cssvalue: Fix return_if_fail() calls...
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] cssvalue: Fix return_if_fail() calls...
- Date: Tue, 15 Jan 2013 14:34:13 +0000 (UTC)
commit b60478bb4920347f8e603cb1707bec349c8f12f7
Author: Benjamin Otte <otte redhat com>
Date: Tue Jan 15 15:29:23 2013 +0100
cssvalue: Fix return_if_fail() calls...
gtk/gtkcsscolorvalue.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkcsscolorvalue.c b/gtk/gtkcsscolorvalue.c
index 90e7c4a..a30093e 100644
--- a/gtk/gtkcsscolorvalue.c
+++ b/gtk/gtkcsscolorvalue.c
@@ -145,9 +145,9 @@ _gtk_css_color_value_resolve (GtkCssValue *color,
GtkCssDependencies unused;
GtkCssValue *value;
- g_return_val_if_fail (color != NULL, FALSE);
- g_return_val_if_fail (provider == NULL || GTK_IS_STYLE_PROVIDER_PRIVATE (provider), FALSE);
- g_return_val_if_fail (current != NULL, FALSE);
+ g_return_val_if_fail (color != NULL, NULL);
+ g_return_val_if_fail (provider == NULL || GTK_IS_STYLE_PROVIDER_PRIVATE (provider), NULL);
+ g_return_val_if_fail (current != NULL, NULL);
if (dependencies == NULL)
dependencies = &unused;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]