gimp r26273 - trunk/app/vectors



Author: neo
Date: Tue Jul 22 10:56:35 2008
New Revision: 26273
URL: http://svn.gnome.org/viewvc/gimp?rev=26273&view=rev

Log:
template can be const


Modified:
   trunk/app/vectors/gimpbezierstroke.c

Modified: trunk/app/vectors/gimpbezierstroke.c
==============================================================================
--- trunk/app/vectors/gimpbezierstroke.c	(original)
+++ trunk/app/vectors/gimpbezierstroke.c	Tue Jul 22 10:56:35 2008
@@ -1799,12 +1799,13 @@
                       gdouble     phi1,
                       GimpCoords *ellips)
 {
-  gdouble       phi_s, phi_e;
-  GimpCoords    template    = GIMP_COORDS_DEFAULT_VALUES;
-  const gdouble circlemagic = 4.0 * (G_SQRT2 - 1.0) / 3.0;
-  gdouble       y[4];
-  gdouble       h0, h1;
-  gdouble       t0, t1;
+  const GimpCoords  template    = GIMP_COORDS_DEFAULT_VALUES;
+  const gdouble     circlemagic = 4.0 * (G_SQRT2 - 1.0) / 3.0;
+
+  gdouble  phi_s, phi_e;
+  gdouble  y[4];
+  gdouble  h0, h1;
+  gdouble  t0, t1;
 
   g_return_if_fail (ellips != NULL);
 



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