gegl r3007 - in trunk: . gegl/property-types



Author: martinn
Date: Tue Mar 31 20:19:10 2009
New Revision: 3007
URL: http://svn.gnome.org/viewvc/gegl?rev=3007&view=rev

Log:
don't try to return a value from a void function

Patch from Gary V. Vaughan.

Modified:
   trunk/ChangeLog
   trunk/gegl/property-types/gegl-path.c

Modified: trunk/gegl/property-types/gegl-path.c
==============================================================================
--- trunk/gegl/property-types/gegl-path.c	(original)
+++ trunk/gegl/property-types/gegl-path.c	Tue Mar 31 20:19:10 2009
@@ -1023,7 +1023,7 @@
   if (!self)
     return;
   ensure_flattened (self);
-  return path_calc (priv->flat_path, pos, xd, yd);
+  path_calc (priv->flat_path, pos, xd, yd);
 }
 
 
@@ -1037,7 +1037,7 @@
   if (!self)
     return;
   ensure_flattened (self);
-  return path_calc_values (priv->flat_path, num_samples, xs, ys);
+  path_calc_values (priv->flat_path, num_samples, xs, ys);
 }
 
 



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