themingengine: Make _gtk_theming_engine_paint_spinner() args const

This commit is contained in:
Benjamin Otte 2012-04-03 11:49:22 +02:00
parent b9ebe8c226
commit c5878e8f6f
2 changed files with 8 additions and 8 deletions

View File

@ -2690,10 +2690,10 @@ gtk_theming_engine_render_handle (GtkThemingEngine *engine,
}
void
_gtk_theming_engine_paint_spinner (cairo_t *cr,
gdouble radius,
gdouble progress,
GdkRGBA *color)
_gtk_theming_engine_paint_spinner (cairo_t *cr,
gdouble radius,
gdouble progress,
const GdkRGBA *color)
{
guint num_steps, step;
gdouble half;

View File

@ -22,10 +22,10 @@
#include "gtk/gtkthemingengine.h"
#include "gtk/gtkcssvalueprivate.h"
void _gtk_theming_engine_paint_spinner (cairo_t *cr,
gdouble radius,
gdouble progress,
GdkRGBA *color);
void _gtk_theming_engine_paint_spinner (cairo_t *cr,
gdouble radius,
gdouble progress,
const GdkRGBA *color);
GtkCssValue *_gtk_theming_engine_peek_property (GtkThemingEngine *engine,
guint property_id);