summaryrefslogtreecommitdiff
path: root/gtk/gtkcssenumvalue.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2014-05-22 22:35:39 +0200
committerBenjamin Otte <otte@redhat.com>2014-05-22 22:35:39 +0200
commite012dfab2c4d73a586354483367af5923315a523 (patch)
treec9258c85fc289482e53ed365e0beb385e70f014a /gtk/gtkcssenumvalue.c
parent0eb62c1629ce6921b261fd8933f6056f97c24289 (diff)
downloadgtk+-e012dfab2c4d73a586354483367af5923315a523.tar.gz
Revert "Fix crash"
This reverts commit 024c11dd66dfda5efb110f55ecec93801f21c0ed. It's not a crash fix to cause a return_val_if_fail() to happen.
Diffstat (limited to 'gtk/gtkcssenumvalue.c')
-rw-r--r--gtk/gtkcssenumvalue.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gtk/gtkcssenumvalue.c b/gtk/gtkcssenumvalue.c
index 08ae60acda..a8c807b155 100644
--- a/gtk/gtkcssenumvalue.c
+++ b/gtk/gtkcssenumvalue.c
@@ -485,7 +485,6 @@ _gtk_css_area_value_try_parse (GtkCssParser *parser)
GtkCssArea
_gtk_css_area_value_get (const GtkCssValue *value)
{
- g_return_val_if_fail (value != NULL, GTK_CSS_AREA_BORDER_BOX);
g_return_val_if_fail (value->class == &GTK_CSS_VALUE_AREA, GTK_CSS_AREA_BORDER_BOX);
return value->value;