[gegl] gegl: Improve gegl_operation_context_take_object() warning message



commit 0d614cfdd850cdd809a2d368c7588e713cd20e40
Author: Martin Nordholts <martinn src gnome org>
Date:   Wed May 27 18:43:58 2009 +0200

    gegl: Improve gegl_operation_context_take_object() warning message
    
    Improve gegl_operation_context_take_object() warning message by also
    saying on what operation the pad was not found.
---
 gegl/operation/gegl-operation-context.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/gegl/operation/gegl-operation-context.c b/gegl/operation/gegl-operation-context.c
index 9d172a3..b9f8f5a 100644
--- a/gegl/operation/gegl-operation-context.c
+++ b/gegl/operation/gegl-operation-context.c
@@ -263,10 +263,10 @@ gegl_operation_context_take_object (GeglOperationContext *context,
     }
   else
     {
-      g_warning ("%s: No paramspec found for pad we %s'%s'\n",
+      g_warning ("%s: No paramspec found for pad '%s' on \"%s\"\n",
                  G_STRFUNC,
-                 data ? "we have data" : "",
-                 padname);
+                 padname,
+                 gegl_operation_get_name (context->operation));
     }
 }
 



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