From 74c3468d64d5e049df74e60c761e350180946e3f Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Thu, 21 Jan 2016 13:31:14 +0100 Subject: [PATCH] cssstyleproperty: Don't allow assigning min-width/min-height --- gtk/gtkcssstylepropertyimpl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk/gtkcssstylepropertyimpl.c b/gtk/gtkcssstylepropertyimpl.c index 1b99a78c2a..96166ae637 100644 --- a/gtk/gtkcssstylepropertyimpl.c +++ b/gtk/gtkcssstylepropertyimpl.c @@ -1644,7 +1644,7 @@ _gtk_css_style_property_init_properties (void) GTK_CSS_AFFECTS_SIZE, minmax_parse, query_length_as_int, - assign_length_from_int, + NULL, _gtk_css_number_value_new (0, GTK_CSS_PX)); gtk_css_style_property_register ("min-height", GTK_CSS_PROPERTY_MIN_HEIGHT, @@ -1653,7 +1653,7 @@ _gtk_css_style_property_init_properties (void) GTK_CSS_AFFECTS_SIZE, minmax_parse, query_length_as_int, - assign_length_from_int, + NULL, _gtk_css_number_value_new (0, GTK_CSS_PX)); gtk_css_style_property_register ("transition-property",