[gegl] gegl: Add GeglNode pointer address to gegl_node_get_debug_name()



commit 8fc26319d30a4db39686e2ec6e5cbfc32a6cd98d
Author: Martin Nordholts <martinn src gnome org>
Date:   Sat May 30 07:49:15 2009 +0200

    gegl: Add GeglNode pointer address to gegl_node_get_debug_name()
---
 gegl/gegl-dot.c        |    2 +-
 gegl/graph/gegl-node.c |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/gegl/gegl-dot.c b/gegl/gegl-dot.c
index 0288bb9..b6f86b6 100644
--- a/gegl/gegl-dot.c
+++ b/gegl/gegl-dot.c
@@ -73,7 +73,7 @@ gegl_dot_util_add_node (GString  *string,
   }
 
   /* The second row is the operation name such as gegl:translate */
-  g_string_append_printf (string, "%s %p |", gegl_node_get_debug_name (node), node);
+  g_string_append_printf (string, "%s |", gegl_node_get_debug_name (node));
 
   /* The next rows are property names and their values */
   if (1)
diff --git a/gegl/graph/gegl-node.c b/gegl/graph/gegl-node.c
index ac903d7..202e4c6 100644
--- a/gegl/graph/gegl-node.c
+++ b/gegl/graph/gegl-node.c
@@ -1428,12 +1428,12 @@ gegl_node_get_debug_name (GeglNode *node)
   if (name && *name)
     {
       g_snprintf (ret_buf, sizeof (ret_buf),
-                  "%s '%s'", operation ? operation : "(none)", name);
+                  "%s '%s' %p", operation ? operation : "(none)", name, node);
     }
   else
     {
       g_snprintf (ret_buf, sizeof (ret_buf),
-                  "%s", operation ? operation : "(none)");
+                  "%s %p", operation ? operation : "(none)", node);
     }
 
   return ret_buf;



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