forked from AuroraMiddleware/gtk
themingengine: Make _gtk_theming_engine_paint_spinner() args const
This commit is contained in:
parent
b9ebe8c226
commit
c5878e8f6f
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user