diff options
author | Benjamin Otte <otte@redhat.com> | 2012-07-16 14:28:58 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-08-28 15:40:57 +0200 |
commit | 6dc3113edc484d9ac1bb1ca248177e279658d31e (patch) | |
tree | 7df192a75573088e45a2511067eea414444f535d /gtk/gtkcssstylepropertyprivate.h | |
parent | 36c79712a120eac52d600c90ecd2affc34d21b50 (diff) | |
download | gtk+-6dc3113edc484d9ac1bb1ca248177e279658d31e.tar.gz |
cssstyleproperty: Get rid of unused API
Both _gtk_css_style_property_print_value() and
_gtk_css_style_property_compute_value() aren't necessary anymore and are
replaced by _gtk_css_value_print() and _gtk_css_value_comptue()
respectively.
Diffstat (limited to 'gtk/gtkcssstylepropertyprivate.h')
-rw-r--r-- | gtk/gtkcssstylepropertyprivate.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/gtk/gtkcssstylepropertyprivate.h b/gtk/gtkcssstylepropertyprivate.h index 093af5f9fc..b04b2679a9 100644 --- a/gtk/gtkcssstylepropertyprivate.h +++ b/gtk/gtkcssstylepropertyprivate.h @@ -36,12 +36,6 @@ typedef struct _GtkCssStylePropertyClass GtkCssStylePropertyClass; typedef GtkCssValue * (* GtkCssStylePropertyParseFunc) (GtkCssStyleProperty *property, GtkCssParser *parser); -typedef void (* GtkCssStylePropertyPrintFunc) (GtkCssStyleProperty *property, - const GtkCssValue *value, - GString *string); -typedef GtkCssValue * (* GtkCssStylePropertyComputeFunc)(GtkCssStyleProperty *property, - GtkStyleContext *context, - GtkCssValue *specified); typedef void (* GtkCssStylePropertyQueryFunc) (GtkCssStyleProperty *property, const GtkCssValue *cssvalue, GValue *value); @@ -57,8 +51,6 @@ struct _GtkCssStyleProperty guint animated :1; GtkCssStylePropertyParseFunc parse_value; - GtkCssStylePropertyPrintFunc print_value; - GtkCssStylePropertyComputeFunc compute_value; GtkCssStylePropertyQueryFunc query_value; GtkCssStylePropertyAssignFunc assign_value; }; @@ -83,10 +75,6 @@ guint _gtk_css_style_property_get_id (GtkCssStyleProp 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); |