gegl r1991 - in trunk: . gegl gegl/graph



Author: martinn
Date: Sun Feb 10 12:18:23 2008
New Revision: 1991
URL: http://svn.gnome.org/viewvc/gegl?rev=1991&view=rev

Log:
2008-02-10  Martin Nordholts  <martinn svn gnome org>

	* gegl/graph/gegl-node.[ch]
	* gegl/gegl.h: Make gegl_node_get_operation() take a const node.


Modified:
   trunk/ChangeLog
   trunk/gegl/gegl.h
   trunk/gegl/graph/gegl-node.c
   trunk/gegl/graph/gegl-node.h

Modified: trunk/gegl/gegl.h
==============================================================================
--- trunk/gegl/gegl.h	(original)
+++ trunk/gegl/gegl.h	Sun Feb 10 12:18:23 2008
@@ -557,7 +557,7 @@
  * NULL if there is no op associated. The special name "GraphNode"
  * is returned if the node is the container of a subgraph.
  */
-const gchar * gegl_node_get_operation    (GeglNode      *node);
+const gchar * gegl_node_get_operation    (const GeglNode *node);
 
 /**
  * gegl_node_get_output_proxy:

Modified: trunk/gegl/graph/gegl-node.c
==============================================================================
--- trunk/gegl/graph/gegl-node.c	(original)
+++ trunk/gegl/graph/gegl-node.c	Sun Feb 10 12:18:23 2008
@@ -1372,7 +1372,7 @@
 }
 
 const gchar *
-gegl_node_get_operation (GeglNode *node)
+gegl_node_get_operation (const GeglNode *node)
 {
   if (node == NULL)
     {

Modified: trunk/gegl/graph/gegl-node.h
==============================================================================
--- trunk/gegl/graph/gegl-node.h	(original)
+++ trunk/gegl/graph/gegl-node.h	Sun Feb 10 12:18:23 2008
@@ -193,7 +193,7 @@
 GeglNode *    gegl_node_get_output_proxy    (GeglNode      *graph,
                                              const gchar   *name);
 
-const gchar * gegl_node_get_operation       (GeglNode      *node);
+const gchar * gegl_node_get_operation       (const GeglNode*node);
 
 const gchar * gegl_node_get_debug_name      (GeglNode      *node);
 



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