diff options
author | Benjamin Otte <otte@redhat.com> | 2015-01-31 11:56:15 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2015-02-06 11:26:31 +0100 |
commit | 1116914ea03685ffbff188e48e32685a4985c2d3 (patch) | |
tree | 13ba596816f999356a705ce410e588e7dfef56c4 /gtk/gtkcssimageprivate.h | |
parent | 808bfe0a98ac4cd2e11ea4eed82a66470121c19b (diff) | |
download | gtk+-1116914ea03685ffbff188e48e32685a4985c2d3.tar.gz |
css: Move scale to GtkStyleProviderPrivatewip/mir2
This way, we can remove it as a separate argument from
gtk_css_value_compute() and allow computation to only depend on one
thing: the style provider.
Diffstat (limited to 'gtk/gtkcssimageprivate.h')
-rw-r--r-- | gtk/gtkcssimageprivate.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/gtk/gtkcssimageprivate.h b/gtk/gtkcssimageprivate.h index b253a2fe2a..5c53f39644 100644 --- a/gtk/gtkcssimageprivate.h +++ b/gtk/gtkcssimageprivate.h @@ -58,9 +58,8 @@ struct _GtkCssImageClass GtkCssImage *(* compute) (GtkCssImage *image, guint property_id, GtkStyleProviderPrivate *provider, - int scale, - GtkCssStyle *values, - GtkCssStyle *parent_values, + GtkCssStyle *style, + GtkCssStyle *parent_style, GtkCssDependencies *dependencies); /* compare two images for equality */ gboolean (* equal) (GtkCssImage *image1, @@ -96,9 +95,8 @@ double _gtk_css_image_get_aspect_ratio (GtkCssImage * GtkCssImage * _gtk_css_image_compute (GtkCssImage *image, guint property_id, GtkStyleProviderPrivate *provider, - int scale, - GtkCssStyle *values, - GtkCssStyle *parent_values, + GtkCssStyle *style, + GtkCssStyle *parent_style, GtkCssDependencies *dependencies); gboolean _gtk_css_image_equal (GtkCssImage *image1, GtkCssImage *image2); |