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 <[EMAIL PROTECTED]>
* 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);
_______________________________________________
SVN-commits-list mailing list (read only)
http://mail.gnome.org/mailman/listinfo/svn-commits-list
Want to limit the commits to a few modules? Go to above URL, log in to edit
your options and select the modules ('topics') you want.
Module maintainer? It is possible to set the reply-to to your development
mailing list. Email [EMAIL PROTECTED] if interested.