[gtk+] cssstyleproperty: Don't allow assigning min-width/min-height



commit 74c3468d64d5e049df74e60c761e350180946e3f
Author: Benjamin Otte <otte redhat com>
Date:   Thu Jan 21 13:31:14 2016 +0100

    cssstyleproperty: Don't allow assigning min-width/min-height

 gtk/gtkcssstylepropertyimpl.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkcssstylepropertyimpl.c b/gtk/gtkcssstylepropertyimpl.c
index 1b99a78..96166ae 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",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]