[gegl] gegl-node: fix whitespace



commit 29bc15e271cdfcce0b370ff978a70b4e36188b16
Author: Hans Lo <hansshulo gmail com>
Date:   Sat Aug 25 18:12:32 2012 -0400

    gegl-node: fix whitespace

 gegl/graph/gegl-node.c |   56 ++++++++++++++++++++++++------------------------
 1 files changed, 28 insertions(+), 28 deletions(-)
---
diff --git a/gegl/graph/gegl-node.c b/gegl/graph/gegl-node.c
index d06c6e1..7508456 100644
--- a/gegl/graph/gegl-node.c
+++ b/gegl/graph/gegl-node.c
@@ -1051,7 +1051,7 @@ gegl_node_blit (GeglNode            *self,
           g_mutex_unlock (mutex);
         }
     }
-#else /* thread free version, could be removed, left behind in case it 
+#else /* thread free version, could be removed, left behind in case it
          is needed for debugging
        */
     {
@@ -1699,19 +1699,19 @@ gegl_node_get_producer (GeglNode *node,
       const gchar *name;
       name = gegl_node_get_name (ret);
       if (name && !strcmp (name, "proxynop-output"))
-	{
-	  ret = g_object_get_data (G_OBJECT (ret), "graph");
-	  /* XXX: needs testing whether this returns the correct value
-	   * for non "output" output pads.
-	   */
-	  if (output_pad_name)
-	    *output_pad_name = g_strdup (gegl_pad_get_name (pad));
-	}
+        {
+          ret = g_object_get_data (G_OBJECT (ret), "graph");
+          /* XXX: needs testing whether this returns the correct value
+           * for non "output" output pads.
+           */
+          if (output_pad_name)
+            *output_pad_name = g_strdup (gegl_pad_get_name (pad));
+        }
       else
-	{
-	  if (output_pad_name)
-	    *output_pad_name = g_strdup (gegl_pad_get_name (pad));
-	}
+        {
+          if (output_pad_name)
+            *output_pad_name = g_strdup (gegl_pad_get_name (pad));
+        }
     }
   return ret;
 }
@@ -1997,21 +1997,21 @@ gegl_node_get_consumers (GeglNode      *node,
     pasp_pos = (n_connections + 1) * sizeof (void *);
     for (iter = connections; iter; iter = g_slist_next (iter))
       {
-        GeglConnection	*connection = iter->data;
-        GeglPad		*pad        = gegl_connection_get_sink_pad (connection);
-	GeglNode	*node       = gegl_connection_get_sink_node (connection);
-        const gchar	*pad_name   = gegl_pad_get_name (pad);
-	const gchar	*name	    = gegl_node_get_name(node);
-
-	const gchar* proxy_name = g_strconcat("proxynop-", pad_name, NULL);
-	if(!strcmp(name, proxy_name))
-	  {
-	    node = g_object_get_data(G_OBJECT(node), "graph");
-	    name = gegl_node_get_name(node);
-	  }
-	else
-	  {
-	  }
+        GeglConnection  *connection = iter->data;
+        GeglPad                 *pad        = gegl_connection_get_sink_pad (connection);
+        GeglNode        *node       = gegl_connection_get_sink_node (connection);
+        const gchar     *pad_name   = gegl_pad_get_name (pad);
+        const gchar     *name       = gegl_node_get_name(node);
+
+        const gchar* proxy_name = g_strconcat("proxynop-", pad_name, NULL);
+        if(!strcmp(name, proxy_name))
+          {
+            node = g_object_get_data(G_OBJECT(node), "graph");
+            name = gegl_node_get_name(node);
+          }
+        else
+          {
+          }
 
         if (nodes)
           (*nodes)[i] = node;



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