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.
This commit is contained in:
Benjamin Otte
2012-10-02 19:23:29 +02:00
parent 48c6b3b4f4
commit 12683da8f7
10 changed files with 51 additions and 51 deletions

View File

@ -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,