[gegl] Return FALSE instead of nothing



commit 9bc751a306a08ab42607b8d2459a5bf5f8bed275
Author: Mukund Sivaraman <muks banu com>
Date:   Tue Jul 27 15:41:34 2010 +0530

    Return FALSE instead of nothing

 gegl/property-types/gegl-path.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gegl/property-types/gegl-path.c b/gegl/property-types/gegl-path.c
index 50af23a..403b55e 100644
--- a/gegl/property-types/gegl-path.c
+++ b/gegl/property-types/gegl-path.c
@@ -1070,7 +1070,7 @@ gegl_path_calc (GeglPath   *self,
   gboolean result = FALSE;
 
   if (!self)
-    return;
+    return FALSE;
   ensure_flattened (self);
 #if 0
   path_calc (priv->flat_path, pos, xd, yd);
@@ -1085,7 +1085,7 @@ gegl_path_calc (GeglPath   *self,
     {
       rel_pos = pos;
     }
-    
+
   if (path_calc2 (entry,rel_pos,xd,yd,&stop,&leftover))
     {
       priv->calc_stop = stop;



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