[Rawstudio-commit] r2072 - trunk/src

Anders Brander anders at brander.dk
Wed Oct 15 05:37:39 CEST 2008


Author: abrander
Date: 2008-10-15 05:37:39 +0200 (Wed, 15 Oct 2008)
New Revision: 2072

Modified:
   trunk/src/rs-curve.c
   trunk/src/rs-curve.h
Log:
Added const to rs_curve_widget_set_knots().

Modified: trunk/src/rs-curve.c
===================================================================
--- trunk/src/rs-curve.c	2008-10-15 03:35:39 UTC (rev 2071)
+++ trunk/src/rs-curve.c	2008-10-15 03:37:39 UTC (rev 2072)
@@ -311,7 +311,7 @@
  * @param nknots Number of knots
  */
 void
-rs_curve_widget_set_knots(RSCurveWidget *curve, gfloat *knots, guint nknots)
+rs_curve_widget_set_knots(RSCurveWidget *curve, const gfloat *knots, const guint nknots)
 {
 	gint i;
 

Modified: trunk/src/rs-curve.h
===================================================================
--- trunk/src/rs-curve.h	2008-10-15 03:35:39 UTC (rev 2071)
+++ trunk/src/rs-curve.h	2008-10-15 03:37:39 UTC (rev 2072)
@@ -100,7 +100,7 @@
  * @param nknots Number of knots
  */
 extern void
-rs_curve_widget_set_knots(RSCurveWidget *curve, gfloat *knots, guint nknots);
+rs_curve_widget_set_knots(RSCurveWidget *curve, const gfloat *knots, const guint nknots);
 
 /**
  * Get knots from a RSCurveWidget




More information about the Rawstudio-commit mailing list