diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2016-10-15 21:29:45 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2016-10-17 11:44:10 +0100 |
commit | 955736421667e2aaadc4e4949742a99391bcc302 (patch) | |
tree | cfdd082b11d5c12bef1d2ee2e8face3daa8d9347 /gtk/gtkcssshadowvalue.c | |
parent | fbf6aa1776efb57b5253d07169e8cbf39e03910c (diff) | |
download | gtk+-955736421667e2aaadc4e4949742a99391bcc302.tar.gz |
gtk: Mark internal functions as static
These functions are only used within their compilation unit.
Diffstat (limited to 'gtk/gtkcssshadowvalue.c')
-rw-r--r-- | gtk/gtkcssshadowvalue.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/gtk/gtkcssshadowvalue.c b/gtk/gtkcssshadowvalue.c index 35d3df764a..42566a401c 100644 --- a/gtk/gtkcssshadowvalue.c +++ b/gtk/gtkcssshadowvalue.c @@ -373,18 +373,18 @@ gtk_css_shadow_value_start_drawing (const GtkCssValue *shadow, return blur_cr; } -void +static void mask_surface_repeat (cairo_t *cr, cairo_surface_t *surface) { - cairo_pattern_t *pattern; + cairo_pattern_t *pattern; - pattern = cairo_pattern_create_for_surface (surface); - cairo_pattern_set_extend (pattern, CAIRO_EXTEND_REPEAT); + pattern = cairo_pattern_create_for_surface (surface); + cairo_pattern_set_extend (pattern, CAIRO_EXTEND_REPEAT); - cairo_mask (cr, pattern); + cairo_mask (cr, pattern); - cairo_pattern_destroy (pattern); + cairo_pattern_destroy (pattern); } static cairo_t * @@ -422,6 +422,8 @@ gtk_css_shadow_value_finish_drawing (const GtkCssValue *shadow, static const cairo_user_data_key_t radius_key; static const cairo_user_data_key_t layout_serial_key; +GQuark pango_cached_blurred_surface_quark (void); + G_DEFINE_QUARK (GtkCssShadowValue pango_cached_blurred_surface, pango_cached_blurred_surface) static cairo_surface_t * |