[gtk+/wip/cssvalue: 103/165] themingengine: Make _gtk_theming_engine_paint_spinner() args const



commit c348f22e983ae97eeaa540ffb49d8d37bf8e080f
Author: Benjamin Otte <otte redhat com>
Date:   Tue Apr 3 11:49:22 2012 +0200

    themingengine: Make _gtk_theming_engine_paint_spinner() args const

 gtk/gtkthemingengine.c        |    8 ++++----
 gtk/gtkthemingengineprivate.h |    8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/gtk/gtkthemingengine.c b/gtk/gtkthemingengine.c
index 8ce1727..27d290c 100644
--- a/gtk/gtkthemingengine.c
+++ b/gtk/gtkthemingengine.c
@@ -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;
diff --git a/gtk/gtkthemingengineprivate.h b/gtk/gtkthemingengineprivate.h
index 63079ee..91c52e7 100644
--- a/gtk/gtkthemingengineprivate.h
+++ b/gtk/gtkthemingengineprivate.h
@@ -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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]