]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkcssstylepropertyprivate.h
Don't mention gtk_set_locale() in docs; this function does not exist
[~andy/gtk] / gtk / gtkcssstylepropertyprivate.h
index 86bc55064fd52f8900d8ec2860d783e4dfe5c39c..fb851899ebe32c27c1011e2baf54a4802bdd8392 100644 (file)
@@ -35,14 +35,7 @@ typedef struct _GtkCssStyleProperty           GtkCssStyleProperty;
 typedef struct _GtkCssStylePropertyClass      GtkCssStylePropertyClass;
 
 typedef GtkCssValue *    (* GtkCssStylePropertyParseFunc)  (GtkCssStyleProperty    *property,
-                                                            GtkCssParser           *parser,
-                                                            GFile                  *base);
-typedef void             (* GtkCssStylePropertyPrintFunc)  (GtkCssStyleProperty    *property,
-                                                            const GtkCssValue      *value,
-                                                            GString                *string);
-typedef GtkCssValue  *   (* GtkCssStylePropertyComputeFunc)(GtkCssStyleProperty    *property,
-                                                            GtkStyleContext        *context,
-                                                            GtkCssValue            *specified);
+                                                            GtkCssParser           *parser);
 typedef void             (* GtkCssStylePropertyQueryFunc)  (GtkCssStyleProperty    *property,
                                                             const GtkCssValue      *cssvalue,
                                                             GValue                 *value);
@@ -56,10 +49,10 @@ struct _GtkCssStyleProperty
   guint id;
   guint inherit :1;
   guint animated :1;
+  guint affects_size :1;
+  guint affects_font :1;
 
   GtkCssStylePropertyParseFunc parse_value;
-  GtkCssStylePropertyPrintFunc print_value;
-  GtkCssStylePropertyComputeFunc compute_value;
   GtkCssStylePropertyQueryFunc query_value;
   GtkCssStylePropertyAssignFunc assign_value;
 };
@@ -80,18 +73,20 @@ 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);
+gboolean                _gtk_css_style_property_affects_font    (GtkCssStyleProperty    *property);
 guint                   _gtk_css_style_property_get_id          (GtkCssStyleProperty    *property);
 GtkCssValue  *          _gtk_css_style_property_get_initial_value
                                                                 (GtkCssStyleProperty    *property);
 
-GtkCssValue *           _gtk_css_style_property_compute_value   (GtkCssStyleProperty    *property,
-                                                                 GtkStyleContext        *context,
-                                                                 GtkCssValue            *specified);
-
 void                    _gtk_css_style_property_print_value     (GtkCssStyleProperty    *property,
                                                                  GtkCssValue            *value,
                                                                  GString                *string);
-                                                                 
+
+gboolean                _gtk_css_style_property_changes_affect_size
+                                                                (const GtkBitmask       *changes);
+gboolean                _gtk_css_style_property_changes_affect_font
+                                                                (const GtkBitmask       *changes);
 
 G_END_DECLS