summaryrefslogtreecommitdiff
path: root/gtk/gtkcssenumvalue.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2017-10-31 04:31:46 +0100
committerBenjamin Otte <otte@redhat.com>2017-10-31 04:33:54 +0100
commit83fb7a649f07fc989ff149036b17698f7dee18c4 (patch)
tree772d5c0ac1a4ee7054cef63e6f675fdbeebc081f /gtk/gtkcssenumvalue.c
parentc8986e66ce482714f4ce2adf3c24dd53cca27bbe (diff)
downloadgtk+-83fb7a649f07fc989ff149036b17698f7dee18c4.tar.gz
css: Merge GtkStyleProviderPrivate into GtkStyleProvider
This is just lots of renaming. The interface remains private, so the public API does not change, apart from removing the definition of the Interface object to avoid subclassing.
Diffstat (limited to 'gtk/gtkcssenumvalue.c')
-rw-r--r--gtk/gtkcssenumvalue.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/gtk/gtkcssenumvalue.c b/gtk/gtkcssenumvalue.c
index cac36006b5..d9f38dc257 100644
--- a/gtk/gtkcssenumvalue.c
+++ b/gtk/gtkcssenumvalue.c
@@ -43,11 +43,11 @@ gtk_css_value_enum_free (GtkCssValue *value)
}
static GtkCssValue *
-gtk_css_value_enum_compute (GtkCssValue *value,
- guint property_id,
- GtkStyleProviderPrivate *provider,
- GtkCssStyle *style,
- GtkCssStyle *parent_style)
+gtk_css_value_enum_compute (GtkCssValue *value,
+ guint property_id,
+ GtkStyleProvider *provider,
+ GtkCssStyle *style,
+ GtkCssStyle *parent_style)
{
return _gtk_css_value_ref (value);
}
@@ -205,13 +205,13 @@ get_dpi (GtkCssStyle *style)
#define DEFAULT_FONT_SIZE_PT 10
double
-gtk_css_font_size_get_default_px (GtkStyleProviderPrivate *provider,
- GtkCssStyle *style)
+gtk_css_font_size_get_default_px (GtkStyleProvider *provider,
+ GtkCssStyle *style)
{
GtkSettings *settings;
int font_size;
- settings = _gtk_style_provider_private_get_settings (provider);
+ settings = gtk_style_provider_get_settings (provider);
if (settings == NULL)
return DEFAULT_FONT_SIZE_PT * get_dpi (style) / 72.0;
@@ -225,11 +225,11 @@ gtk_css_font_size_get_default_px (GtkStyleProviderPrivate *provider,
}
static GtkCssValue *
-gtk_css_value_font_size_compute (GtkCssValue *value,
- guint property_id,
- GtkStyleProviderPrivate *provider,
- GtkCssStyle *style,
- GtkCssStyle *parent_style)
+gtk_css_value_font_size_compute (GtkCssValue *value,
+ guint property_id,
+ GtkStyleProvider *provider,
+ GtkCssStyle *style,
+ GtkCssStyle *parent_style)
{
double font_size;
@@ -386,11 +386,11 @@ _gtk_css_font_style_value_get (const GtkCssValue *value)
#define LIGHTER -2
static GtkCssValue *
-gtk_css_value_font_weight_compute (GtkCssValue *value,
- guint property_id,
- GtkStyleProviderPrivate *provider,
- GtkCssStyle *style,
- GtkCssStyle *parent_style)
+gtk_css_value_font_weight_compute (GtkCssValue *value,
+ guint property_id,
+ GtkStyleProvider *provider,
+ GtkCssStyle *style,
+ GtkCssStyle *parent_style)
{
PangoWeight new_weight;
int parent_value;