summaryrefslogtreecommitdiff
path: root/gtk/gtkcssstyle.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2016-01-03 17:20:06 -0800
committerCosimo Cecchi <cosimoc@gnome.org>2016-01-03 17:20:06 -0800
commita009a50239520f1227721e3b9399adbecda04784 (patch)
tree0f6d8dbcbc186835947ced6091402823fbc82d11 /gtk/gtkcssstyle.c
parentd8e1fd6079ab2b93d48dda09cbefa316210cde3f (diff)
downloadgtk+-a009a50239520f1227721e3b9399adbecda04784.tar.gz
cssstyle: fix a compiler warning
Diffstat (limited to 'gtk/gtkcssstyle.c')
-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++)
{