diff options
author | Benjamin Otte <otte@redhat.com> | 2012-10-02 19:23:29 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-10-02 19:32:51 +0200 |
commit | 12683da8f74e847392fff32d4b06dd2c50baa37c (patch) | |
tree | 2d340c4f85871d60404e6911062e6d08b54a83fc /gtk/gtkcssimagegradient.c | |
parent | 48c6b3b4f4c7eaf99e10302d17e78838f1eac010 (diff) | |
download | gtk+-12683da8f74e847392fff32d4b06dd2c50baa37c.tar.gz |
gtk: Make functions static that don't need to be non-static
Also remove the starting underscore from function names where
appropriate, as those functions are static now and not exported anymore.
This is part of a bunch of fixes for gcc complaining about
-Wmissing-declarations.
Diffstat (limited to 'gtk/gtkcssimagegradient.c')
-rw-r--r-- | gtk/gtkcssimagegradient.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkcssimagegradient.c b/gtk/gtkcssimagegradient.c index 4085719585..a2417337b6 100644 --- a/gtk/gtkcssimagegradient.c +++ b/gtk/gtkcssimagegradient.c @@ -48,7 +48,7 @@ gtk_css_image_gradient_compute (GtkCssImage *image, return GTK_CSS_IMAGE (copy); } -cairo_pattern_t * +static cairo_pattern_t * fade_pattern (cairo_pattern_t *pattern, double opacity) { @@ -82,7 +82,7 @@ fade_pattern (cairo_pattern_t *pattern, return pattern; } -cairo_pattern_t * +static cairo_pattern_t * transition_pattern (cairo_pattern_t *start, cairo_pattern_t *end, double progress) @@ -141,7 +141,7 @@ transition_pattern (cairo_pattern_t *start, return result; } -GtkCssImage * +static GtkCssImage * gtk_css_image_gradient_transition (GtkCssImage *start_image, GtkCssImage *end_image, guint property_id, |