summaryrefslogtreecommitdiff
path: root/gtk/gtkcssstylepropertyprivate.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2012-11-30 18:57:56 +0100
committerBenjamin Otte <otte@redhat.com>2012-11-30 20:10:23 +0100
commita5770cef36d08c8539d31aca6256b7fc158d2f9c (patch)
treefe49e0380a8b13ac22e770b51293d693ad2bd7a3 /gtk/gtkcssstylepropertyprivate.h
parent4ccb8e5d330aa448cfb8263feba5c59c367957d2 (diff)
downloadgtk+-a5770cef36d08c8539d31aca6256b7fc158d2f9c.tar.gz
styleproperty: Add an affects-size property
This property will be used to avoid gtk_widget_queue_resize() calls in favor of gtk_widget_queue_draw().
Diffstat (limited to 'gtk/gtkcssstylepropertyprivate.h')
-rw-r--r--gtk/gtkcssstylepropertyprivate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkcssstylepropertyprivate.h b/gtk/gtkcssstylepropertyprivate.h
index b04b2679a9..34411e0693 100644
--- a/gtk/gtkcssstylepropertyprivate.h
+++ b/gtk/gtkcssstylepropertyprivate.h
@@ -49,6 +49,7 @@ struct _GtkCssStyleProperty
guint id;
guint inherit :1;
guint animated :1;
+ guint affects_size :1;
GtkCssStylePropertyParseFunc parse_value;
GtkCssStylePropertyQueryFunc query_value;
@@ -71,6 +72,7 @@ GtkCssStyleProperty * _gtk_css_style_property_lookup_by_id (guint
gboolean _gtk_css_style_property_is_inherit (GtkCssStyleProperty *property);
gboolean _gtk_css_style_property_is_animated (GtkCssStyleProperty *property);
+gboolean _gtk_css_style_property_affects_size (GtkCssStyleProperty *property);
guint _gtk_css_style_property_get_id (GtkCssStyleProperty *property);
GtkCssValue * _gtk_css_style_property_get_initial_value
(GtkCssStyleProperty *property);