summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk/gtkcssstyle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkcssstyle.c b/gtk/gtkcssstyle.c
index 794a20ae5e..d801c646a2 100644
--- a/gtk/gtkcssstyle.c
+++ b/gtk/gtkcssstyle.c
@@ -137,8 +137,8 @@ gtk_css_style_print (GtkCssStyle *style,
guint i;
gboolean retval = FALSE;
- g_return_if_fail (GTK_IS_CSS_STYLE (style));
- g_return_if_fail (string != NULL);
+ g_return_val_if_fail (GTK_IS_CSS_STYLE (style), FALSE);
+ g_return_val_if_fail (string != NULL, FALSE);
for (i = 0; i < _gtk_css_style_property_get_n_properties (); i++)
{