patches/gegl-02-info-null.diff
author yippi
Mon, 27 Sep 2010 21:07:51 +0000
changeset 20108 51df67ca9307
parent 18066 1847ff0f1078
permissions -rw-r--r--
I had these modules listed as being owned by me, but they are really owned by wangke, correcting.

--- gegl-0.0.22/gegl/property-types/gegl-path.c.old	2009-02-24 17:27:52.615641000 +0800
+++ gegl-0.0.22/gegl/property-types/gegl-path.c	2009-02-24 17:27:38.830330000 +0800
@@ -1458,6 +1458,8 @@
   GeglPathList *prev = NULL;
   InstructionInfo *info = lookup_instruction_info (knot->type);
 
+  if (info != NULL)
+    {
   gint count=0;
   for (iter = priv->path; iter; iter=iter->next)
     {
@@ -1492,6 +1494,7 @@
   priv->flat_path_clean = FALSE;
   priv->length_clean = FALSE;
   gegl_path_emit_changed (vector, NULL);
+    }
 }
 
 void  gegl_path_replace_node (GeglPath           *vector,